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

learn more… | top users | synonyms (4)

25
votes
2answers
27k views

How to set up and use a virtual python environment in Ubuntu?

Python virtual environments are used to create isolated python environments to avoid dependency and version conflicts, and also indirectly takes care of permission issues. But what is the easiest way ...
65
votes
2answers
51k 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 ...
23
votes
5answers
18k views

Will python2.7 be available for 10.04 in the future?

Since Ubuntu 10.04 is an LTS release will it support python 2.7 as a default package maintainer version or at least have a python2.7 package in future? Since it will be the last major python 2.x ...
27
votes
3answers
19k views

What is nss-myhostname? And why is it not installable?

dmesg shows the line systemd-hostnamed[3964]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname! But sudo ...
25
votes
5answers
46k views

How can I find out if a specific program is installed? [duplicate]

I want to find out if a program - Chromium for example - is installed on Ubuntu or not. Manually or as a package. How do I know if a program is installed via command line?
15
votes
1answer
28k views

How to install Tomcat 7.0.42 on Ubuntu 12.04.3 LTS?

The sysadmin gave me a virtual machine which I access through terminal. I have root access and it got Ubuntu 12.04.3 LTS. The command apt-cache policy tomcat7 informs: tomcat7: Installed: (none) ...
13
votes
6answers
20k 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?
17
votes
3answers
713 views

How can I start my own Repository

I'm an avid developer but I never actually gotten around to setting up my own PPA - how would someone go about this? Common issues encountered? How do I get my source code to be compiled into packages ...
2
votes
2answers
3k views

Steam Install Error on 14.04 Ubuntu 64bit

I have tried some of the solutions posted elsewhere in the support forum, one seemed like it worked but after a steam update i found myself back at square one I am a new Linux user and am already at ...
2
votes
2answers
14k views

Installing Skype on 12.10 64 bit causes errors

I have installed Ubuntu 12.10 64bit (clean install) and updated it. After that i tried to install skype, and i get error that skype depends skype-bin, but it could not install it, and that there are ...
12
votes
1answer
480 views

Is there a usage count for packages or programs?

Motivation: I want to remove applications I do not use to speed up my package processing tasks like dist upgrades, regular updates, but also for saving disk space and other reasons. I know this is a ...
12
votes
1answer
9k views

Is there a way to disable kernel updates?

I run a more recent kernel (2.6.34) than the ones supplied with the Update Manager. I am tired of updates asking me to reboot every week or so and screwing my grub.cfg (this probably deserves it's own ...
11
votes
3answers
7k views

How do I safely remove gwibber?

I'm really in love with Ubuntu but I'm not used to Gwibber, for some reason. I can't remove gwibber without removing the ubuntu-desktop package. Is it safe to remove it, without ruining my desktop?
6
votes
1answer
21k views

How to test if package is installed? [duplicate]

Possible Duplicate: How can I check if a package is installed (no superuser privileges) I want a shell script method to test/report if a package is installed. I don't need details, only a ...
6
votes
2answers
972 views

How do I rebuild a package to include debugging information?

I want to rebuild a package to include debugging symbols, how would I do that? There is no -dbg package available and also no -dbgsym package from the ddebs repository.
1
vote
3answers
6k 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 ...
17
votes
1answer
35k views

Apt-get saying “Unable to correct problems, you have held broken packages.” [duplicate]

Possible Duplicate: How do I resolve unmet dependencies? TL;DR: sudo apt-get install ... saying "Unable to correct problems, you have held broken packages." The problem I was trying ...
17
votes
1answer
5k views

How do I enable the “extras” repository?

I keep reading about an extras repository for Ubuntu with new software that comes out independently of the distro release. How do I enable it?
12
votes
5answers
1k views

Any way to get a fresh ubuntu desktop without re-installing?

I don't want to wipe my hard drive. I just want to get rid of all the extra software I've installed over time, and return to a prisitine, default system.
9
votes
4answers
5k 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
2answers
1k views

Why does apt think it needs this extra dependency?

I'm working on some machine setup instructions, and I was surprised to find out that apt-get install A B can behave differently than apt-get install A && apt-get install B. My specific ...
8
votes
3answers
651 views

Search Launchpad for PPAs matching software or package name?

Is there a way to search though LaunchPad's PPAs for a certain package name? For instance if I was looking for PPAs with Firefox packages I could search for "firefox" and retrieve a list of all the ...
7
votes
3answers
7k 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 ...
6
votes
2answers
791 views

How do I get the bleeding edge Chromium?

The following versions of Chromium are available at the moment : Chromium Stable PPA (13.0.782.218) Chromium Beta PPA (14.0.835.126) Ubuntu Repo (14.0.835.202) Chromium Dev PPA (15.0.865.0) Chromium ...
5
votes
1answer
1k views

How can I upload package for several ubuntu versions to Launchpad automatically?

See the title. I using dput and in my /etc/dput.cf : [ppa] fqdn = ppa.launchpad.net method = ftp incoming = ~onto/onto/ubuntu/ login = anonymous allow_unsigned_uploads ...
19
votes
4answers
2k views

Is there a difference between installing an application via Ubuntu Software Center or a terminal?

I would like to ask a very basic question but I have never thought about it before. Well, when someone installs an application from terminal, he has to add the repository first, right? On the other ...
19
votes
2answers
358 views

Is there a congrats ubuntu page?

Say for example I use a particular package and want to say "Way to go maintainers" is there a way for me to do this?
11
votes
2answers
5k views

Cant run FoxitReader after installing it

I'm trying to install Foxit reader. I've downloaded the .deb, opened with Ubuntu Software Center (or gdebi, etc) and clicked install. The progress bar do her job and an icon appears when I search ...
10
votes
1answer
27k views

What does apt-get --fix-missing do and when is it useful?

From the man page: -m, --ignore-missing, --fix-missing Ignore missing packages; if packages cannot be retrieved or fail the integrity check after retrieval (corrupted package files), hold back ...
6
votes
2answers
4k views

I think a PPA update broke my system. What can I do?

A few weeks ago I installed ppa:ricotz/testing on Ubuntu 11.10. It worked fine then, but since a recent upgrade, trying to launch GTK applications results in lots of cryptic errors. Can I revert all ...
6
votes
1answer
184 views

Why are the hidden settings-folders not deleted when purging an application?

I did sudo apt-get remove --purge for several packages, but apparently the personal settings are kept. Is there a command or tool to delete them automatically?
5
votes
4answers
24k views

How to configure Software Center to work with HTTP proxy?

I installed Ubuntu 12.04 LTS using the Windows installer (Wubi) yesterday. And then I tried to install Chrome, Flash player, etc., but nothing worked. Then I tried installing some random package using ...
5
votes
1answer
6k views

How to install Cairo 1.8.10

The package libcairo2-dev is the latest version of the Cairo graphics library (1.10.2). Is there any way I can install version 1.8.10? I'm running 11.10, but would be interested in a general solution ...
5
votes
2answers
4k views

'adobe-flashplugin conflicts with flashplugin-downloader' error while trying to install adobe-flashplugin

I'm having some hard time getting straight with my adobe flash plugin. $ sudo apt-get remove --purge adobe-flashplugin flashplugin* nspluginwrapper Reading package lists... Done Building dependency ...
4
votes
2answers
3k 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
4answers
3k views

How do I create a .deb file?

Yes, I know that this question has been asked many times before, but none of the answers really helped. I'd like to package the Minecraft launcher (which has no proprietary code, AFAIK,) into a .deb ...
3
votes
6answers
6k views

How to list all my packages from command line which can show package name, license, source url, etc?

How to get all the installed package list with there license, source url? Such as following only shows name of the package only. $ dpkg --get-selections acpi-support install acpid ...
2
votes
3answers
23k views

How do I install the build dependencies for Android?

I'm trying build the Android source using these packages. ButI am getting this error: $ sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib ...
1
vote
4answers
5k views

Installing skype will not work - skype-bin not installable, and 'held broken packages'

So, I am trying to install skype through apt-get, but after running into this problem multiple times, and trying to find a solution, it still doesn't work... I tried all the answers here: Installing ...
22
votes
3answers
8k 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?
17
votes
6answers
12k views

How can I remove the Evolution package completely? [duplicate]

how can I remove Evolution and all related packages? I feel like I don't need them.
12
votes
1answer
1k views

Apport support for non ubuntu packages

I have been reading about apport and its usage for a week by now. But could not understand the below things. Scenario: I have developed an application and packaged it. And its name is MyApp.deb. The ...
10
votes
4answers
409 views

How do I list commands a package provides? [duplicate]

I'm curious what commands a certain package provides my system with. By command, I mean an in-path executable that I can run from the command line (ls, grep, sed, etc). I'm not trying to work out the ...
10
votes
1answer
620 views

Authentication problem with my PPA

I created a package and uploaded it to my PPA. After it got built, I went to install it, but was faced with this message: ******@******-laptop:~$ sudo apt-get install stackapplet Reading package ...
9
votes
3answers
3k views

How do I add/create a <source.changes> file?

I have created a package with Quickly and also i have uploaded it to a brach on launchpad, but how can i create a ppa for that program and upload to it? i'm really new to these stuff, i just learned ...
7
votes
1answer
6k views

Update Manager says 'Not all updates can be installed'

I have 11.04 installed with Gnome 3 and everything was working fine until I tried to run the update manager. Now I can't update any of my packages. A similar question was posted awhile ago but no ...
6
votes
2answers
11k 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 ...
6
votes
3answers
597 views

Why do many GNOME application packages depend on `libunity9`?

When investigating this question, I discovered that many GNOME applications' packages depend on the libunity9 package. If I try to uninstall libunity9 on Precise, it tries to uninstall lots of ...
6
votes
2answers
879 views

Are any programs not safe to uninstall?

As we know, Ubuntu comes with a lot installed on it. Many of them I either don't know what it does or just don't use. Which applications are safe to uninstall? I use mainly the basic stuff, FireFox, ...
6
votes
2answers
7k views

How to create deb installer from tarballs? [duplicate]

Possible Duplicate: Simplest Debian Packaging Guide? there are several tarballs (e.g. Firefox, Eclipse, Zend Studio and ...) that have executable file within, that easily we can extract ...