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

learn more… | top users | synonyms (2)

8
votes
0answers
1k views

What is the converse of add-apt-repository? [duplicate]

Possible Duplicate: How can PPAs be removed after they have been added with the add-apt-repository command? You can a new PPA repository with add-apt-repository. How do you remove an added ...
7
votes
2answers
256 views

“Pin down” an automatically installed package so apt-get autoremove keeps it

Say I install package A, which depends on package B. Then I remove A. Now apt-get autoremove wants to remove B, but I want to keep it. How do I "pin down" B so that the system acts as if I installed ...
6
votes
4answers
8k views

Upgrade hangs on ttf-mscorefonts-installer

I am trying to upgrade from 11.10 to 12.04 and the upgrade seems to be stuck downloading ttf-mscorefonts. Is there a way to bypass this? Output from /var/log/dist-upgrade Installing new version ...
6
votes
4answers
2k views

What does “local or obsolete” mean in Synaptic

In the Synaptic Package Manager there is a category "Installed (local or obsolete)". For whatever reason I have a bunch of packages listed there. As you can see from the screenshot, the packages ...
5
votes
2answers
254 views

Drag forward installed Python packages when upgrading

As somebody who runs multiple webservers each running a set of Django sites, keeping on top of my Python stack is very important. Out of (probably bad) habit, I rely on Ubuntu for a number of my ...
4
votes
2answers
5k views

Is it safe to use the command apt-get autoremove in this particular scenario?

Since the last time I used sudo apt-get autoremove, nearly every important display driver or parts got deleted. This made me very squeamish in using the command again. However, each time I install ...
4
votes
3answers
1k views

Find out what packages were installed with a particular package?

I have a simple question. When you install a package using apt-get install, oftentimes, it will install several dependency packages as well as the main one. I was wondering if there is a way to ...
3
votes
2answers
10k views

Ubuntu 13.10 gives “Package 'libapache2-mod-auth-mysql' has no installation candidate” error [closed]

UPDATE: Because Apache 2.4 is the default version (instead of the previous 2.2) this error occurs. However as can be seen here all future versions of Ubuntu 13.10 and above will not support this ...
3
votes
1answer
222 views

What can I do if Synaptic can't get the latest version of software?

I'm using Synaptic for package management on Ubuntu 12, and am currently trying to get the newest version of SWIG - 2.0.9. My currently installed package swig in Synaptic is version 2.0.7-3ubuntu1. I ...
3
votes
0answers
4k views

Why run sudo apt-get update before installing a package? [duplicate]

Possible Duplicate: What does “sudo apt-get update” do? Why do we have to run sudo apt-get update before I can run sudo apt-get install package? I found this very annoying when I am ...
3
votes
2answers
367 views

How can I set up aptitude-curses so that it doesn't automatically select *recommended* packages?

When I select a package for installation using aptitude-curses, sometimes a huge list of extra packages appear selected under "Packages being automatically installed to satisfy dependencies". When I ...
3
votes
0answers
2k views

How to fix “Problem with MergeList” error when running an update? [duplicate]

Possible Duplicate: “Problem with MergeList” error when trying to do an update After "sudo apt-get update" in terminal, I get: 58% [99 Translation-en lzma 0 B] [Connecting to ...
3
votes
1answer
350 views

Why are my two ubuntu installs on separate partitions sharing the same apt-get data?

I have two ubuntu installs on two separate partitions, one Unity and one Gnome-Shell. They both use a common encrypted /home partition. That sort of setup has worked well for me in the past, but for ...
2
votes
3answers
5k views

The Software Center won't start anymore, how to fix it?

I have been using Ubuntu 13.04 for last 2 months. It was working properly but suddenly the Ubuntu Software Center has started hanging. Now it doesn't open. And every time I try to open it, I have to ...
2
votes
1answer
857 views

bad downloaded packages? linux-image-3.2.0-32-generic-pae' is missing final newline

I'm having some trouble updating my software. It seems like the new packages have been downloaded but one package is giving me some trouble This is the output I get when I try to upgrade my software ...
2
votes
3answers
3k views

Problem with gnome-shell-extensions-user-theme [duplicate]

I'm trying to install themes with gnome tweak, and I need to install gnome-shell-extensions-user-theme because otherwise I cannot see the shell extensions tab. However, I cannot install shell ...
2
votes
1answer
410 views

How do I stop being offered updates for PAE kernels? [duplicate]

Possible Duplicate: I get two kernel updates, one for Generic and one for Generic-PAE I am using Ubuntu 12.04 . I don't want to use PAE kernels so i am using normal kernels . but update ...
1
vote
2answers
97 views

How does update work with programs installed from .deb file

I'm having some difficulties exactly understanding how the the whole update thing work in linux (Ubuntu) and good practice for installing software. I understand I have a /etc/apt/sources.list file ...
1
vote
1answer
27k views

The following packages have unmet dependencies [duplicate]

The following packages have unmet dependencies: apache2: Depends: apache2-mpm-worker (= 2.2.22-1ubuntu1) but 2.2.22-1ubuntu1.2 is to be installed or apache2-mpm-prefork (= ...
1
vote
1answer
2k views

Problem after interrupted installation of Adobe Flash

I am using Ubuntu. Yesterday I have installed Adobe Flash plugin to my laptop. The installation was interrupted,and it didn't complete. However, the software shows in the installed software menu. ...
1
vote
2answers
2k views

Unable to download software center from package manager: 404 Not Found

I removed software center from the terminal and after that I tried to install it from synaptic package manager. Now I get a message saying that it's unable to retrieve a few packages. Have a look: ...
1
vote
2answers
791 views

Manage ubuntu 11.10 desktop from server webconsole

Are there any alternatives to Ubuntu landscape as I want to manage ubuntu desktops of different version 10.04,11.04 and 11.10
0
votes
2answers
276 views

Fix half-installed package

I am getting error while using sudo apt-get upgrade stating: dpkg: error processing libgfortran3:amd64 (--configure): package libgfortran3:amd64 is not ready for configuration cannot configure ...
0
votes
1answer
736 views

How to save applications for re-install or upgrade?

I keep experimenting with my Ubuntu so I have to reinstall it sometimes. I just wanted to know whether I can create another partition only for my installed application(from software center) so that I ...
0
votes
2answers
8k views

Ubuntu hangs on booting up after a update

I've made a clean install yesterday, for the first time restarted, everything went good and then after I updated packages and copied my old home directory to replace the new one, when I restarted it ...
0
votes
1answer
2k views

Can't install libssl-dev, dependency problem

I'm trying to install the package libssl-dev, but I get the following error: libssl-dev: Depends: libssl1.0.0 (= 1.0.1-4ubuntu3) but 1.0.1-4ubuntu5 is to be installed the package libssl1.0.0 is ...
0
votes
2answers
5k views

MySQL server stopped working after upgrade [duplicate]

Possible Duplicate: Fixing broken myslq-server package after upgrade to 12.04 I upgraded to 12.04 and my MySQL server just stopped working. It throws: ERROR 2002 (HY000): Can't connect to ...
0
votes
1answer
187 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...) ...
98
votes
5answers
11k views

How can I tell, from the command line, whether the machine requires a reboot?

When you install certain updates (e.g. a new kernel) in Ubuntu Desktop, you get an indication that a reboot is required (in Lucid, the logout icon turns red). How can I check, from the command line, ...
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
8k 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 ...
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 ...
10
votes
6answers
14k 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?
10
votes
4answers
7k 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.
10
votes
2answers
332 views

When would yum be of use to an Ubuntu user?

My understanding is that yum, and the rpm system, is only useful on distributions such as Red Hat, Fedora and CentOS. I thought that Ubuntu, as a Debian based system, had no use for yum. So I was ...
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
3k 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 - ...
5
votes
2answers
138 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
2answers
9k 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
3k 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
1answer
5k 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
4k 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 ...
16
votes
5answers
11k 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
3answers
920 views

Are ubuntu packages (deb-files) only md5sum secured?

Introductory Background to the question below### (so the question is more usable to more people) Inside of an Ubuntu/debian-style package (*.deb file) there is a file named /DEBIAN/md5sums which has ...
12
votes
2answers
490 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
417 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
2answers
9k 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 ...