The Debian package management system that powers most software installs.

learn more… | top users | synonyms

2
votes
1answer
621 views

How to fix a broken Adobe Air package? [duplicate]

I'm using 64 bit version of Ubuntu 10.10 and have some problems with broken dependencies. I needed Adobe Air but it was not availble via apt-get, so I downloaded it from Adobe and installed. Then I ...
0
votes
2answers
159 views

dpkg snippet isn't working for me when fixing / installing dockbar

I'm trying to use this code from webupd8 to fix the problem I have. It seems it didn't work. sudo dpkg -i --force-overwrite /var/cache/apt/archives/smplayer_0.6.9+svn3595-1ppa1~maverick1_i386.deb ...
1
vote
2answers
180 views

Recovering package metadata info

From the console, is there a way to recover the architecture of a package when it is not currently installed ? I know the name and version of the package.
4
votes
1answer
104 views

Will packages work with older Ubuntu releases?

E.g., will Natty packages work on Maverick?
1
vote
1answer
6k 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 ...
24
votes
3answers
6k views

apt-get vs. aptitude .vs synaptic compatibility

I had been a Debian user for almost 3 years... but memories have gone really fuzzy... I "kind of" remember that I should only use one of the package managers... Either apt-get, aptitude, or synaptic, ...
2
votes
1answer
1k views

Multiple Depends/Recommends/[…] in a control file?

Is it possible to have multiple lines for any type of field in a dpkg control file? This is not about line continuation, but e.g. Depends interspersed with Recommends like so: Depends: git, ...
5
votes
1answer
87 views

How to find and back up only files not part of a package

How can I find a list of every file that is modified or added outside the debian package management system? Cruft is unmaintained and doesn't know about the way today's debian package management ...
5
votes
3answers
322 views

Find minimal equivalent of packages currently installed

I have used a tool that calculates the minimal set of packages you can install to get the current set of packages you have. This is different than telling you what your selections are. It literally ...
2
votes
1answer
309 views

Packages not showing up in created APT repository

I created an APT repository using deb-scanpackages, and it seemed to go well. When I did a apt-get update on another server, the Packages.gz file was retrieved, and all seemed well - until I went to ...
3
votes
1answer
3k views

How to mark dependencies as solved?

On my Ubuntu I needed to install a newer version of erlang. Then I installed rabbitmq-server with dpkg --force-depends -i rabbitmq-server_2.1.1-1_all.deb And everything worked fine, till... Now I ...
2
votes
3answers
2k views

Can't install libopenssl-ruby

I'm trying to install ruby on rails and I can't seem to install libopenssl-ruby. I'm on a VPS and I've installed Jaunty as the newer releases don't seem to work very nicely. When I do: apt-get ...
3
votes
1answer
667 views

Filenames in the apt cache directory

Why the packages in the directory /var/cache/apt/archives/ have names like: *x11proto-damage-Dev_1%3a1.2.0-1_all.deb* where the "strange" in this case is "%3". In fact, if I download it ...
4
votes
4answers
2k views

dpkg behaving strangely?

When I use apt to get a package, I have been receiving the same error message. Here is an example trying to install wicd (which is already installed): Reading package lists... Building dependency ...
4
votes
3answers
3k views

Grub-pc installing error

Trying to fix my apt-get upgrade, it always stopped at setting up grub-pc... I read somewhere that I should purge remove my grub2 and then reinstall it. I did that and after lots of paying around i ...
0
votes
0answers
300 views

Grub-pc installing error [duplicate]

Possible Duplicate: Grub-pc installing error Trying to fix my apt-get upgrade, it always stopped at setting up grub-pc... I read somewhere that I should purge remove my grub2 and then ...
7
votes
1answer
939 views

Building a .deb file, install dependencies too

I am part of a small team that develop an intranet web app. We want to a method of easy installation, so we were thinking about how apt-get works, especially with installing dependencies. Our app has ...
4
votes
2answers
933 views

How to list currently not installed packages?

I'd like to output a list of all currently not installed packages (they are visible in Synaptic for example) using only shell commands. How do I do this? Thanks!
2
votes
2answers
3k views

trying to overwrite '*', which is also in package faenza-icon-theme 0.8

I have Docky installed on Ubuntu 10.10 64bit and noticed after a recent upgrade my 'Helpers' are no longer available. After some research I found that Dockmanager is no longer installed either. I am ...
12
votes
4answers
39k views

Do Dpkg and apt-get install dependencies?

I've been wondering, is there a way to tell dpkg or apt-get that when I want to install a package also install all the dependencies it requires? I installed a package using dpkg but it complained ...
30
votes
2answers
16k views

What do the various dpkg flags like 'ii' 'rc' mean?

I frequently need to check which packages are installed, and I use the following command: dpkg -l | grep foo which gives the following output Desired=Unknown/Install/Remove/Purge/Hold | ...
2
votes
1answer
319 views

Desktop settings lost after unclean shutdown

My laptop restarted because the battery ran out of juice. Now the Gnome settings are gone. The panels are looking very bad. I am hearing sounds that were not there before restart. Menus are not ...
5
votes
1answer
584 views

Can you recommend a good tutorial on building custom package versions?

After installing Ubuntu 11.04 I was disappointed by the fact there are still Scala 2.7 (when 2.8 is long ago current actual branch) and Mono 2.6 (when pretty a time has passed after 2.8 release). I am ...
13
votes
1answer
4k views

How to fake a package version installed?

Being an early adopter and using 11.04 daily builds I sometimes meet a situation when some packages require earlier versions of other packages than those I have installed. Usually newer (but refused) ...
0
votes
2answers
300 views

dpkg error while downloading

I tried to install wine. Since it was taking more than an hour I restarted the system. I found the following error when I tried to open synaptic package manager. E: dpkg was interrupted, you ...
10
votes
2answers
2k views

How can I install 'Revenge of the Titans'?

Revenge of the Titans is one of the games from the Humble Indie Bundle. I downloaded the i386 .deb file (I'm on a 32bit installation) and tried to install it using the Software Centre. However, when ...
31
votes
4answers
26k views

How can I find the version number of an installed package via dpkg?

I use the dpkg -l command to find out what version of a package I have installed. For example: dpkg -l network-manager returns the information on the package: ...
181
votes
14answers
539k views

Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?

I get this error when trying to use apt-get: E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/) is ...
7
votes
1answer
362 views

Cloud server stuck on dpkg --configure -a

I have an amazon micro instance which runs one or two things for me. The config is minimal, it mainly acts as a host for a java application and couchdb. I tried to install curl today and got this ...
3
votes
3answers
546 views

Apt-get with no HTTP/FTP access

Is it possible to install packages using apt-get install without having HTTP access? In other words, can apt-get install packages from a small local repository? I know I can use sudo dpkg -i deb_file ...
12
votes
2answers
9k views

apt changelog for to-be installed packages [duplicate]

GUI update-manager is able to show the "changelog" of packages to-be installed (not downloaded yet). I also found out how to provide the .changelog files in the right place for update-manager to show ...
4
votes
1answer
1k views

Can't install anything, dpkg error

I can't install anything on my Ubuntu.. I googled it, found the same problem, but none of the proposed solutions solved my issue.. All the time, it keeps giving me No apport report written because ...
7
votes
8answers
3k views

Useful apt (dpkg) commands

Please post your less-known, but useful apt commands involving apt-*, dpkg, or aptitude.
1
vote
1answer
197 views

Debian post installation triggers often make my system unusable! Is there something I can do?

Mainly it's the menu and monodoc-base triggers that cause the problem. Recently monodoc base has become a major pain. It keeps saying there are a bunch of errors, and uses up 100+ CPU% and makes it ...
4
votes
2answers
2k views

What does “selecting previously deselected package” mean?

Whenever I install software from the command-line using apt-get or aptitude, I see messages like this: Selecting previously deselected package foobar-cil-dev. I understand "downloading" and ...
0
votes
1answer
777 views

How do I downgrade apt?

Today I did my typical "update all" routine when the package manager GUI told me many things needed updating. It chugged along and needed some confirms. I rebooted because one of the upgrades had ...
3
votes
2answers
4k views

Package dependency problem (offline install of wireless drivers)

I have a friend wanting to install Ubuntu 10.10 as a dual-boot with Windows through Wubi. Unfortunately, he has a wireless card with a Broadcom chipset, and needs to install the drivers. There is no ...
6
votes
1answer
2k views

Alternatives to rpm -qa and rpm -ql in ubuntu

I am following Linux CBT tutorials for RHEL to learn some LINUX basics. If I want to know if a particular package is installed in ubuntu, I usually type dpkg -l and grep the needed name. Such as ...
5
votes
1answer
5k views

How to recover dpkg from corrupted downloads?

I just upgraded to the 10.10 RC earlier and had a few problems with graphic drivers (x didnt start) But i have remedied that now. When i run 'sudo apt-get install -f' i get this: ...
15
votes
8answers
32k views

How do I rebuild a corrupt dpkg status file?

Whenever I type sudo apt-get remove and then press the Tab key for auto-completion I get the following message: grep-status: /var/lib/dpkg/status:15945: expected a colon . I don't see anything ...
7
votes
4answers
3k views

What's apt-get's equivalent option of this dpkg command?

dpkg -L <package> This command gives me a list of all the installed files, what's apt-get's equivalent option for it? I read the man page but couldn't figure out.
12
votes
2answers
4k views

Can I rebuild a package without recompiling the source?

I am building a new .deb and want to fix lintian errors in the packaging. However, every time I rebuild, the rules file does a 'make clean' and thus starts compiling again. Is there a way to ...
1
vote
2answers
290 views

apt-get stuck on libboo2.0.9-cil upgrade [closed]

For whatever reason, aptitude is stuck on upgrading libboo2.0.9-cil. I tried dpkg --configure -a and restarting the upgrade, but that doesn't seem to do anything. It just sits there on ...
0
votes
2answers
445 views

Customize software sources for Ubuntu Desktop updater to manage?

I love the software updater in Ubuntu Desktop and want to configure underlying package managers with other sources of software. Sometimes I run into a new software project that isn't delivered ...
0
votes
1answer
3k views

Installation:Troubleshooting webmin dependencies

I am having a dependency problem dpkg installing webmin 1.510 (deb) package on Ubuntu 10.04, as seen in the screenshot. I do not know where to look to find info about what dependencies are needed. ...
1
vote
3answers
1k views

Why would the aptitude binary be missing if its package is installed?

Yesterday I upgraded a laptop from Kubuntu 9.04 (Lucid) to 9.10 (Karmic). Then afterwards I tried to install some software $ sudo aptitude install dont-remember-what-it-was and I get sudo: ...
0
votes
1answer
484 views

Problems installing Ubuntu Tweak

I'm new to Ubuntu and loving it already. I installed Ubuntu 10.04 LTS and want to download and install Ubuntu Tweak. I followed the following process: system>administrator>synaptic package ...
7
votes
1answer
2k views

What is stored in the “/var/lib/dpkg/updates” folder?

I've seen some folks have errors relating to files in /var/lib/dpkg/updates. All I can find about the directory is that the files in it are numbered 0000, 0001 etc. and that the error messages often ...
10
votes
4answers
947 views

Does installing packages manually with dpkg prevent a future upgrade path?

I manage a private network which has no internet connectivity due to the security policy of the customer. This network has a single Ubuntu 10.04 LTS Server installation (soon to be several more) and ...