Tech Forum Network

Programming, technical solutions and hot scripts
Home » TechQns » Cloning packages from dpkg -l

Cloning packages from dpkg -l

June 27, 2013 Posted by forumadmin under TechQns
Comments off

I’m setting up a new machine, and I need to make sure it has all the same packages as one in England being used for a similar project. To that end, I have the results of a dpkg -l call from the machine I want to imitate, but I’ve been having trouble ensuring that this machine gets the right packages installed. I’ve tried the second answer from here: How to list all installed packages?

as it seems to be essentially what I want to do, but it seems that after the dselect-upgrade finishes and I reboot the kernel is gone, and I end up having to re-install ubuntu again.

Long story short, I’m looking for a way to get all the packages from the list I got from the dpkg -l call installed on this new machine, preferably without deleting the kernel and forcing me to re-install…

Note: As --set-selections requires the package list to be in the format of --get-selections, not --list, I’ve made a new text file that consists of the --list results in the proper format (eg abiword install rather than ii abiword 2.9.2+svn20120213-1 efficient, featureful word processor with collaboration). It does run the set-selections from this file, so that makes me think that the format is fine.

 

Asked By – StephenTG        Read Answers    

More Related Questions

  • Installed packages have unmet dependencies When i tried to install lxc-docker-0.7.6 on ubuntu 13.04, i get the following errors: The following package was automatically installed and is no longer required: libsdl-ttf2.0-0 Use […]
  • Unmet dependencies problem on 12.04 – libcurl4-openssl-dev depends librtmp-dev I'm having troubles with unmet dependencies on Ubuntu 12.04: libcurl4-openssl-dev depends librtmp-dev Here is what I've got after running sudo apt-get -f install which suggested running […]
  • Ubuntu 12.04 Libreoffice update breaks software updating After applying the latest updates today (August 16, 2014), Libreoffice-base will not complete the upgrade due "no diversion" error which then seems to break the postrm script and now I can […]
  • Why am I getting the terminal error "try apt-get -f install"? Okay, I just install Ubuntu (the LXDE version, which is Lubuntu) and everytime I try to install a package through the terminal with the "Apt-get install" command, this error pops up: E: […]
  • Getting error while installing python-kivy packages in Ubuntu I'm not able to install python-kivy, I got this error: dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 127 Processing triggers for […]
  • Why does package mercurial depend on x11-common in a chrooted environment? In relation to a previous question I posed (Make apt-get (or aptitude) run with -y but not prompt for replacement of configuration files?) I came across a somewhat peculiar and hard to […]
  • dpkg google-chrome corrupt invalid status I can't get this to resolve itself, can I get some help? Setting up google-chrome-stable (34.0.1847.116-1) ... update-alternatives: error: /var/lib/dpkg/alternatives/google-chrome […]
  • OpenERP Not allowing other things to be installed I have an OpenERP server set up for testing purposes on my computer. Since the setup, whenever I try to install other applications I get an error caused by OpenERP, When trying to install […]
  • sudo apt-get install (google-chrome-stable_current_amd64.deb) is not working I was told that sudo apt-get install (package.deb) installs the software with all the dependencies too. I am trying install Google Chrome, but when I do this step, it generates the […]
  • how to install the package, when it saying for every package installation "unmet dependencies"? Everything i try to install now since weeks it always shows dependency problems like below, how to make this package installed? i tried -f install and related other dependency but one […]
0
  
Email
Tags: apt, dpkg, installation, package-management, packages

Comments are closed.

« Get the DOM element that calls Javascript without an event
Posting in wordpress database as a new post »
Tech Forum Network powered by WordPress and The Clear Line Theme