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

learn more… | top users | synonyms (4)

4
votes
1answer
3k views

I can't update, upgrade and remove my app from kubuntu

I have a problem upgrading software. I can't update, upgrade or remove my software. The notification of update manager signs 46 security packets and 83 other packets and when I click on it to install ...
4
votes
2answers
3k views

How do I install packages without using a package manager?

I would like to know how to install .deb packages without using a package manager such as dpkg. Is it possible to do this? What files do I have to edit? Or is there a unique procedure for each ...
4
votes
1answer
1k views

getting error message Package operation failed

while installing any softwere or update i am getting this error installArchives() failed: dpkg: error: parsing file '/var/lib/dpkg/available' near line 0: field name ...
3
votes
1answer
2k views

“But is referred to by another package.” - Finding that package

It is not unusual for an Ubuntu (or other distro with apt package management) user to encounter the error: user@box ~ $ sudo apt-get install x [sudo] password for user: Reading package lists... Done ...
3
votes
1answer
4k views

inxi installation on ubuntu

I have migrated from Linux Mint to Ubuntu 64(KDE installed). I want check my hardware with inxi -F command but it returns : inxi: command not found and as I want to install inxi (sudo apt-get install ...
3
votes
3answers
10k views

Is there a standalone version of soapUI for Linux?

I want to run soapUI on Ubuntu 11.10. If I am not able to install via the package manager, I'd prefer not to install at all, and instead run as a standalone application. Looking at the soapUI download ...
3
votes
4answers
3k views

How to remove all associated files and configuration settings of an app installed through 'force architecture' command

A few weeks ago I installed a 32 bit .deb file through the 'force architecture' command (on my 64bit notebook), however the procedure was unsuccessful and I used the apt-get purgecommand to uninstall ...
3
votes
1answer
4k views

Installation of a package to a custom directory

Is there any option to install a package to my home directory (or /foo) instead of system wide ? I am looking for options using apt-get or dpkg. Something similar to --prefix in a source compile. ...
2
votes
3answers
14k 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 ...
1
vote
5answers
1k views

How to install programs on other Ubuntu machines without using the Internet

I have several computers running Ubuntu. I also have a slow Internet connection. If I install programs using apt-get, does that put installation files somewhere which I can access, so that I can use ...
0
votes
1answer
38k views

The following packages have unmet dependencies (apache) [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 (= ...
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 ...
8
votes
4answers
4k views

How to fix a dpkg broken by the Brother MFC-7340 deb driver

I'm getting an apt-get error that says E: The package brmfc7340lpr needs to be reinstalled, but I can't find an archive for it. The brmfc7340lpr is a printer driver -- it's a local deb file. Doing a ...
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
314 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
1answer
300 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
20k 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
2answers
4k views

How to install package from newer distribution?

I have Ubuntu 10 server and want to update a package to newer version (update rrdtool from 1.3.8 to current 1.4.5). What should I do? Download and build sources or get package from newer distribution? ...
2
votes
2answers
2k views

How do i configure the live usb to install additional packages?

I have saved all the packages from the directory /var/cat/apt/archives to Usb. Is it possible to configure the live Usb to accommodate all these extra packages /var/cache/apt/archives; so that it ...
2
votes
2answers
116 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
2answers
4k 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 ...
1
vote
1answer
82 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
4answers
4k views

Package operation failed Errors were encountered while processing: xserver-common-lts-raring [duplicate]

Before starting with my problem description, I would like to say that this is my very first time using Ubuntu or anything related to Linux! Now my question! I have installed the very last ...
0
votes
1answer
384 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 ...
88
votes
2answers
72k 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 ...
24
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 ...
32
votes
4answers
32k 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 ...
31
votes
5answers
67k 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?
18
votes
1answer
32k 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) ...
55
votes
2answers
48k views

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

I'm installing Ubuntu 12.04 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 ...
32
votes
4answers
80k 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 ...
26
votes
4answers
60k 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 nor not, like openSSH ...
15
votes
1answer
56k 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 ...
19
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/^[^ ]* [^ ]* \([^ ...
16
votes
3answers
14k 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 ...
15
votes
1answer
2k 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 ...
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.
13
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 ...
10
votes
1answer
26k 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 ...
3
votes
2answers
7k 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 ...
12
votes
1answer
547 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?
6
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.
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
6k 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
367 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
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 ...