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

learn more… | top users | synonyms (4)

0
votes
1answer
3k views

sudo apt-get install -f doesn't fix broken packages. And now?

$ sudo apt-get install -f [sudo] password for ...: Lendo listas de pacotes... Pronto Construindo árvore de dependências Lendo informação de estado... Pronto Corrigindo dependências... Pronto Os ...
21
votes
0answers
1k views

How can I find out why a package was installed? [duplicate]

How can I find out why a particular package was installed? Is it part of the default installation? Was it specified manually, or was it chosen automatically to meet dependencies? Which packages are ...
6
votes
4answers
9k 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
3answers
316 views

Installing packages in multiple systems

I have to install some packages in 5 Ubuntu system in my office. There, bandwidth is limited. So, is there any way to install it in one system & copy to other, so that all works fine? All systems ...
4
votes
1answer
3k views

How can I use LaunchPad.net packages in 11.04?

LaunchPad.net is a fantastic repository of packages, and one that I use often to install packages that are not included in the main repository. Thus far, I've always simply browsed to a package page (...
3
votes
4answers
21k views

installing “ia32-libs” problem - Ubuntu 12.10 x64

I'm trying to install ia32-libs and i tried nearly all commands to install this package but always i got an error. Here is what i've tried so far; sudo apt-get install ia32libs orkun@ubuntu:~$ sudo ...
3
votes
1answer
323 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
4answers
1k views

Why does Update Manager give me a 404 error with these Google repositories?

I have a red warning sign in my toolbar. When I click on it, it asks me to check for updates. When I check for updates, I get this: W:Failed to fetch http://dl.google.com/linux/deb/dists/testing/non-...
2
votes
2answers
7k views

apt-get remove --purge wine* removed everything!

sudo apt-get remove --purge wine* opened the gates of hell and removed many things. I wasn't allowed to paste the output here, too big. I stopped the process, I wanted to save what's left of my ...
2
votes
1answer
3k views

Dependency problems installing steam

I'm having some dependency trouble trying to install steam on Ubuntu 14.04. I got the steam-launcher.deb-Package from http://media.steampowered.com/client/installer/steam.deb and installed it: eva@...
2
votes
2answers
122 views

Is there a way to install packages via a a queue even when there is another instance of an installation or upgrade is running?

Many times there is the problem, that I have only a small bandwith connection, and when running a sudo aptitude safe-upgrade or similar with a big download volume and then stumble upon a program that ...
1
vote
1answer
94 views

Safe to remove entries in 12.04 sources.list?

Recently, every time I have run sudo apt-get update with 12.04 Precise there have been two 404's (note: I don't have the rep to post more than 2 links, so I've removed the 'http://' from the URLs ...
1
vote
2answers
26k views

Unable to download packages from Ubuntu Software Center - “Check Your Internet Connection”

Whenever I try to install any package, I get the error "Unable to Download Packages", "Check your Internet connection". But the strange part is that I can use synaptic to download and install the same ...
1
vote
2answers
5k views

I Cannot install or remove packages

I tried to install the openoffice.org package but it gave an error. Now i cannot repair, remove or install nothing. The Software center of xubuntu gives this error log. Nothing seems to solve this. I ...
0
votes
1answer
488 views

Override Distro Package with Custom Package?

Ubuntu 12.04 LTS provides OpenSSL 1.0.1e, but it disables TLSv1.1 and TLSv1.2. In the past it was an interop decision because of broken client implementations. In 2014, its really not appropriate ...
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 ...
105
votes
2answers
87k 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 ...
35
votes
4answers
85k views

How do I check if a package is installed on my server?

I recently installed Ubuntu Server edition 13.10. But I have ran into a bit of problem. At the end of the install, it asks you for several extra packages whether you want them or not, like openSSH ...
36
votes
4answers
38k 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 apt-...
32
votes
5answers
80k 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?
25
votes
5answers
19k 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
6answers
37k 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?
32
votes
4answers
35k views

How do you see what packages are available for update

FreeBSD user joining your ranks. I've been asked to look after an Ubuntu Server running 10.04 LTS. I see from /usr/lib/update-notifier/update-motd-updates-available that there are a number of ...
27
votes
6answers
55k views

How to install Google-Earth 64bit in Ubuntu 13.10, ia32-libs Dependency error

I want to install Google-Earth & it requires ia32-libs. So, I did apt-get install ia32-libs but error pops as: Reading package lists... Done Building dependency tree Reading state ...
59
votes
2answers
53k views

What does the “Basic Ubuntu Server” package contain in software selection during installation?

I'm installing Ubuntu from an Ubuntu Minimal image, and I've gotten to the software selection part. What I'm wondering is, which packages are included in the "Basic Ubuntu Server" option? I'm ...
21
votes
3answers
20k views

Where are the logs for apt-get?

Request I would like to know where I can find the logs for the following package managers. Package managers Synaptic Package Manager Ubuntu Software Center Terminal logs for apt-get and The ...
14
votes
1answer
12k 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 ...
36
votes
4answers
91k views

How to delete or replace an already created symbolic link?

I am working on my project using network simulator2. I installed it and everything is fine. I attempted to create a symbolic link between this installation and /usr/bin, so I could invoke the software ...
20
votes
3answers
7k views

Is this command to remove old kernels safe to use?

While browsing the internet for Ubuntu articles, I came across this command: sudo dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/...
16
votes
1answer
74k 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 ...
14
votes
1answer
11k 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 ...
13
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.
10
votes
1answer
28k 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 yes/...
8
votes
2answers
1k 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.
3
votes
6answers
28k views

How to delete broken packages in ubuntu

I can not remove broken package. Use the following command: sudo apt-get -f install but I get the following response: Preparing to unpack .../nodejs_0.10.28-1chl1~trusty1_amd64.deb ... Unpacking ...
3
votes
1answer
8k 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 non-...
31
votes
3answers
13k 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?
22
votes
3answers
44k views

How to reinstall Terminal?

While fixing package dependencies, the terminal application went missing, and now I cannot locate the application. Is there a way to reinstall the terminal application?
18
votes
1answer
39k 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 to ...
18
votes
3answers
25k views

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

The last time I used sudo apt-get autoremove, nearly every important display driver or parts got deleted. This made me very squeamish about using the command again. However, each time I install ...
12
votes
1answer
579 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 ...
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?
3
votes
1answer
21k views

“apt-get -f install” fails with “/usr/bin/dpkg returned an error code (1)” [duplicate]

Possible Duplicate: Fixing Broken Packages I started out trying to install CVS: $ sudo apt-get install cvs Reading package lists... Done Building dependency tree Reading state ...
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 ...
17
votes
1answer
7k 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?
11
votes
2answers
378 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 ...
10
votes
3answers
19k views

Can't install/remove/upgrade any package

So I've been trying to upgrade Ubuntu 11.10 64-bit few days back and received an error: dpkg: ../../src/archives.c:978: tarobject: Assertion `r == stab.st_size' failed. So I followed this Ubuntu ...
10
votes
4answers
6k 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 ...
10
votes
3answers
4k 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 ...
9
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 ...