Questions about the management of packages, in particular the `dpkg` system.

learn more… | top users | synonyms (2)

0
votes
1answer
158 views

Failing package manager?

I am trying to download kcachegrind after a reinstallation of my OS. But I keep getting "dependency" failures. I have tried going through the Ubuntu software manager (which worked perfectly before...) ...
40
votes
2answers
24k views

How can I see all versions of a package that are available in the archive?

Is there a way I can see all the versions that are in the archives that I have configured in sources.list. I can see the last version of each archive with "apt-get policy", but how can I see all? Is ...
21
votes
0answers
4k views

How can I install the latest version of Sun Java (JRE)? [duplicate]

Possible Duplicate: How can I install Oracle Java JRE 7? Is there a reliable method to install the current version of Sun Java? Update 18 is in the repos, but it looks like Sun is up to ...
12
votes
1answer
6k views

How do I check only security updates from the command-line?

Is there a way to quickly check for the availability of security updates from the command line? On my 12.04 system running apt-get update fetches 20MB of data about available packages every time I ...
10
votes
2answers
76k views

“Unable to locate package” errors for all software

My apt-get doesn't install any programs. I try to install programs with apt-get install but always it shows same error: unable to locate package. For example I try to install the xbmc media center; ...
6
votes
9answers
4k views

Install .deb on from CD-ROM while offline with default applications only

I have an application with a .deb package to install it. If the user is online, everything works fine. However, I need to support installing on offline computers from a CD-ROM, and I can only assume ...
13
votes
1answer
1k views

How to get a list of preinstalled packages?

And I'd like to get this list directly and if possible from an external source (maybe repositories?). Almost all one-liners I have found didn't work for me. So I hope there is an indicator somewhere ...
9
votes
6answers
10k views

How do I remove cached .deb files?

I think once we get the packages with apt-get it stores in /var/cache/apt/archives . Is it safe to remove the archives files to save space? Can we remove other files as well to save some space?
9
votes
4answers
4k views

How to rollback to PHP 5.2?

I have just installed a 10.04 LTS on my development server but the system that I need to run on it (Magento ecommerce) is not compatible with PHP 5.3 which ships with the newest version of Ubuntu. Is ...
8
votes
3answers
2k views

How do I add a binary file to my existing PPA package

Adding modified or new text files to my PPA package is simple enough: Step 1: apt-get source [foo-package] cd [foo-package] Step 2: add or modify new text files containing the changes Step 3 - ...
8
votes
4answers
5k views

Can I install Portage, Pacman or other package managers on Ubuntu?

I want to install a non-Ubuntu package manager like Portage (Gentoo) or Pacman (Arch) on Ubuntu 12.04 LTS. How do I do that?? PS - I'm a Newbie to Linux.
6
votes
3answers
5k views

Install a different version of a package

I'm running lucid server and have installed tomcat. The version it installed is 6.0.24-2ubuntu1.6. Is this the version I'm tied to? Is it possible to install a more recent version? The one available ...
3
votes
1answer
7k views

How can I remove all updates installed after a specific date?

I have allowed the update manager to install a 200 Mib of updates, and I think that these update run my graphics driver into a problem. So, I need a way to remove the updates that have been installed ...
3
votes
1answer
4k views

Why am I unable to install the Nvidia 96 driver?

I have a old Nvidia card that needs the nvidia 96 driver to enable all the fancy compiz effects (the noveau free driver doesn't work). I tried installing it with Ubuntu Software Center but it said ...
2
votes
4answers
2k views

DPKG dependencies problem after removing MariaDB, prevents me from using apt-get

I tried to install MariaDB like this, and got this error: dpkg: error processing /var/cache/apt/archives/libmysqlclient18_5.5.32+maria-1~raring_amd64.deb (--unpack): libmysqlclient18:amd64 ...
1
vote
3answers
4k views

How to set the package selection status to the current status?

I have made a dpkg --clear-selections command and found that all my packages are selected for removal. As the man pages is saying --clear-selections : Set the requested state of every ...
1
vote
1answer
4k views

How to install an older version of Java

I updated my installation of the sun-java6-jdk package today to version 6.24-1build0.10.10.1 after being prompted by the update manager. However this now causes some compilation failures so I'd like ...
17
votes
2answers
3k views

How is Ubuntu more updated than Debian?

I am reading Debian vs. Ubuntu vs. Linux Mint: Which Distribution Should You Use? Ubuntu, on the other hand, is made to include a good combination of new and stable ... Some packages can be used ...
14
votes
5answers
9k views

How to install only the dependencies of a package?

Running sudo apt-get install <PACKAGE> will install the package, its dependencies, and any other recommended packages. However, there does not seem to be a way to install only the dependencies ...
12
votes
2answers
460 views

Possible problems in mixed use of apt-get, aptitude and synaptic

Even though aptitude and synaptic are both front-end to the APT (and I myself stick only with apt-get), peculiarities in each of the available dpkg/APT frontends seem to cause problems and confusions ...
10
votes
3answers
2k views

Is there a way to reset all packages/sources and start from scratch?

I have been playing with package management by adding sources from older Ubuntu releases in order to get older versions of some software (e.g. PHP). Unfortunately at some point I must have overdid it ...
9
votes
1answer
338 views

What happens during a package upgrade?

I recently started building Ubuntu packages for my software on Launchpad. They are pretty simple; most of them just contain some files and scripts that are trigged through the .install .preinst ...
9
votes
1answer
7k views

How do I add a directory to MANPATH or INFOPATH?

I think I understand the instructions given in How to add a directory to my path? about adding directories to $PATH. But I don't understand how to add directories to $MANPATH or $INFOPATH. Also -- in ...
9
votes
1answer
2k views

How can I install `flashplugin-installer` and `ttf-mscorefonts-installer` without an Internet connection?

Is there a way to download the Flash plug-in and the Microsoft fonts on one computer, and install them on another offline computer? Simply downloading the flashplugin-installer and ...
6
votes
2answers
2k views

How do I get a list of obsolete packages?

I'm trying to figure out a way to get a list of the packages that are no longer available in the repositories that I have enabled. This workstation has been through quite a few versions of Ubuntu and ...
6
votes
2answers
3k views

Where can I get a Postgres 9.0 package?

I want to use Postgres 9.0 in Ubuntu. Does anybody know any repository that already has the debian package for Postgres 9.0? Do you think I should wait for the next Ubuntu release or Postgres 9.0 is ...
5
votes
2answers
216 views

How exactly does Synaptic keep track of “New in repository” packages?

Is this info part of APT cache or does it create a separate file to compare with new cache? Where is it stored then?
5
votes
3answers
463 views

Cannot use apt-get anymore because of one specific package

No matter what type of apt-get I run (install, update, ...) I always get: dpkg: warning: files list file for package `libgdata-google1.2-1' missing, assuming package has no files currently installed. ...
5
votes
5answers
6k views

Install packages without internet

How do I install ubuntu packages from the ubuntu cd. I have ubuntu-desktop 10.04 running and I have to install wvdial package but no internet connection for installing from apt repository.
4
votes
1answer
114 views

How do I get a list of non-LTS packages installed efficiently?

I'd like to see to what extent my system is LTS-supported by means of what packages are supported for 5 years and which are not. I could disregard some non-5yr-supported packages, as some are rarely ...
4
votes
4answers
410 views

Which packages recommended 'Missing Recommends'?

The Synaptic Package Manager has a custom filter "Missing Recommends". Is there a way to find out which packages installed on my system recommended the packages listed in this filter?
4
votes
2answers
2k views

Remove recommended packages

By mistake I forgot to add --no-install-recommends flag to my apt-get install command, is there a way to purge those recommended packages after they've been installed?
3
votes
3answers
2k views

Cannot install wine on Ubuntu natty 64bit [broken dependency]

I've just installed Ubuntu natty 64bit. Now I'm trying to install wine and no matter how I do it (Software center/synaptic/terminal), it fails. Here's what I tried on terminal: sudo apt-get update ...
2
votes
1answer
302 views

sudo apt-get check gives me the following error

sudo apt-get check Reading package lists... Error! E: Read error - read (21: Is a directory) E: The package lists or status file could not be parsed or opened Please let me know how to resolve this ...
1
vote
5answers
6k views

Wine installation not completing due to held broken packages

I'm running Ubuntu 12.04 64bit and I want to install wine. This is the output of sudo apt-get install wine: Reading package lists... Done Building dependency tree Reading state ...
0
votes
1answer
561 views

package manager broken and libjack errors after using BleedingEdge12_4_26.sh

I recently installed Ubuntu 12.04 lts. I used the BleedingEdge12_4_26.sh script which was recommended to me to install some more software. This morning my update notification came up and when I tried ...
17
votes
6answers
7k views

How to see packages installed on a given date using aptitude

Does anyone know if there's an easy way to find a list of packages installed, sorted by date, when using aptitude (or apt-get)? I was installing a bunch of packages to try something new, and it ...
16
votes
3answers
5k views

What does it mean that a package is “set to manually installed?”

When packages are already installed and I run an apt-get install <package-name>, sometimes it will print a line <package-name> is set to manually installed. What does that mean?
13
votes
3answers
3k views

Uninstall kubuntu-desktop

I installed kubuntu-desktop using sudo apt-get install kubuntu-desktop but I no longer want to use KDE. How do I remove all the packages that were installed by this command ? Thank you
10
votes
5answers
492 views

Diff'ing different versions of the same debian package

Is there any way to get source diffs between a locally-installed package and its updated one? This will be useful to check exactly which parts have been fixed, changed or added. For example, say you ...
9
votes
2answers
6k views

How to determine the version and origin of proprietary drivers installed by Additional Drivers?

How can I tell which version and from which repository the Additional Drivers tool is trying to install the fglrx graphics driver? It says that I have a different version of the driver in use. I ...
8
votes
3answers
715 views

Is there a way to check if a program is available in the repository by commandline?

When i find a interesting program i want to test and install in ubuntu i first check if it's available in the repository. For that i use the software center. But does a possibility exist to check it ...
7
votes
2answers
2k views

Is there a safe way to reinstall via the package manager?

Assume, I have a system with all the packages installed, which I want, and all configuration files set up as desired. However, the files on the file system could have become corrupted or missing due ...
7
votes
5answers
3k views

Which is the best way to install new hplip versions?

Hplip is the software that drives most hp printers. Usually new printers are only supported in newer versions of the software. Canonical doesn't backport new versions packages to older Ubuntu ...
6
votes
1answer
155 views

Limit what users can install

This is a theoretical scenario that has come up as part of another question: I have x Ubuntu desktops with x users. Users don't have sudo privs I can let them install things through the software ...
6
votes
3answers
558 views

Why does tasksel exist when there are already meta packages?

I've recently heard of tasksel, a tool that "installs multiple related packages as a co-ordinated "task" onto your system". What is the difference between using tasksel and installing meta packages ...
4
votes
1answer
141 views

Write List of Packages installed via Manual Invocation of apt-get to File

I'm trying to install a new version of Ubuntu from scratch, but I would like a list of the packages which I manually installed (as opposed to installed as a dependency or that came with the system). ...
4
votes
3answers
1k views

Correct way to install virtual dependency

I'm in the process of creating a .deb package of our Java-based application (see this superuser-question). I'm now using following dependency information: Depends: java-runtime-headless (>= 1.6) ...
4
votes
2answers
636 views

How to view a list of packages that were manually installed without their dependancies

How do I see a list of packages I manually (really manually, as in I typed them in) installed? I want to exclude packages that were installed as a result of being dependencies of other packages that ...
4
votes
2answers
496 views

Error in a gconf .entries file breaks my package manager

I probably was out of my mind , i tried editing the /usr/share/gconf/defaults/05_panel-default-setup.entries file by hand , i messed up and finally whenever i try to install/remove anything i ...