The Debian package management system that powers most software installs.

learn more… | top users | synonyms

3
votes
4answers
1k views

Install a list of packages only if they aren't already installed

I'm trying to automate my setup as much as possible. To do this I have lists of packages that I want to install, for example: banshee wireshark audacity thunderbird thunderbird-lightning calibre ...
0
votes
0answers
11 views

Can't update my apt packages.. problems with python-oneconf, software-center.. pyclean & pycompile not found

I can't update-upgrade my ubuntu packages anymore after my latest update/upgrade/dist-upgrade here are some outputs : $sudo dpkg --audit The following packages are in a mess due to serious problems ...
2
votes
1answer
12 views

Synaptic requiring too many additional removals?

I installed LLVM out of curiousity some time ago, not using it for anything specific. Today I tried removing it with Synaptic, the same way I installed it. The problem is, marking 'removal' on one of ...
1
vote
2answers
17 views

dpkg broken by oracle-java8-installer

I want to remove the oracle-java8-installer but it gives the below errors. Perhaps good to mention that I messed a bit with apt, e.g. at some point I manually removed the apt cache (but the java ...
2
votes
1answer
289 views

Right way to completely clean up old kernels in terminal

I have been going through various questions about how to clean up old Linux kernels. They all seem to have different answers and they are old, so someone is bound to say the question is too old and ...
0
votes
1answer
17 views

installing 32 bit libraries on ubuntu 14.04 64bit:errors

Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or ...
1
vote
2answers
188 views

Problem removing avg

I've tried to remove avg2013 however when I try I get a funky error message. The command I'm running: sudo apt-get remove --purge avg2013flx The error I get: Removing avg2013flx (2013.3118) ... ...
4
votes
4answers
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
22 views

Ubuntu 14.04 LTS with Epson L210 driver

I try to install driver Epson L210 on ubuntu 14.04. using icon 'printers' it got stuck installing after awhile key in the admin password. try other method`sudo apt-get install ...
0
votes
1answer
22 views

dpkg error while installing fail2ban on ubuntu 15.04

I'm trying to reinstall fail2ban after upgrading from 14.10 to 15.04. I was getting these errors so I did apt-get remove fail2ban and then apt-get install fail2ban, however I still get these error ...
1
vote
1answer
51 views

How can I remove a dpkg broken by the Brother MFC-8840 deb driver?

I can't seem to remove a package. I've tried dpkg --purge and apt-get purge. Neither seem to actually remove the package, however. The package is mfc8840dlpr (1.1.2-1). Is there any way I can make ...
0
votes
0answers
5 views

// , How can I prevent Prey 1.4.0 and 1.3.9 installation happenning over and over as it tries chown?

// , I keep seeing attempts to chown files for prey 1.4.0 and prey 1.3.9 near the end of the output for any dpkg installation command. For instance I get the following spew in response to sudo ...
1
vote
2answers
29 views

error with apt-get and dpkg

I cannot do any apt-get commands without error. I have tried many commands like sudo apt-get purge, sudo apt-get -f install, sudo dpkg --configure initramfs-tools, etc. I continue to get the ...
0
votes
0answers
40 views

Cannot update ubuntu 15.04 or install any package

Whenever I try to update or install a package this happens:( I have no idea how to fix this) anurag@anurag-desktop:~$ sudo apt-get install oracle-java7-installer oracle-java7-set-default Reading ...
2
votes
1answer
12 views

Dpkg error exit status 2

Tried to install jenkins.deb and I got the shown below. Any ideas? ~$ sudo dpkg -i jenkins_1.609.1_all.deb (Reading database ... 118056 files and directories currently installed.) Unpacking ...
2
votes
2answers
224 views

Errors encountered when installing kubuntu on 15.04

I ran: sudo add-apt-repository ppa:kubuntu-ppa/backports sudo apt-get update sudo apt-get install kubuntu-desktop and after it gave me this error message: dpkg: error processing archive ...
0
votes
1answer
20k views

uninstall packages using dpkg

I want to uninstall openoffice package and want to do this using single command or regular expression i.e dpkg -r openoffice-org* but dpkg doesnot accept wild cards how can i uninstall all the ...
0
votes
0answers
19 views

Problems creating custom deb packages

I am trying to create a few packages that will replace ones that are existing from the standard Ubuntu repositories. I am currently testing this setup as a local file:/ repo to mimic how it will be ...
2
votes
1answer
29 views

mysql-client-5.5 update error

I just run apt-get upgrade and many packets should be updated. I allowed them all (question after Disk Space and verification). After the download and my configured packages Ubuntu told me from an ...
1
vote
3answers
92 views

Need help removing linux-image-3.16.0-34-generic and linux-image-extra-3.16.0-34-generic

So I feel like a dunce having to post about this but, I need help trying to fix this issue, mostly because without the fix I can't install any new software or run updates. For some reason one of the ...
0
votes
1answer
30 views

dpkg error while installing gnome-session-fallback

I was trying to do sudo apt-get install gnome-session-fallback. This is the output I get: (Reading database ... 353039 files and directories currently installed.) Preparing to unpack ...
7
votes
4answers
17k views

How to remove/install a package that is not fully installed?

I went to install bsnes the other day and for whatever reason the installation failed. Now, I cannot update, install new packages, or do basically any apt-get commands as they all try to process this ...
0
votes
1answer
15 views

Set a local repo in order apt-get to handle .deb dependecies

I am trying to do something, which I have already done on .rpm distributions, on Fedora more exactly. Basically I want to create a local repository, which I can put a .deb file in, so that apt-get can ...
1
vote
1answer
38 views

Error while installing or updating anything

since i was trying to install java manually which i coulnt doing i have been having these errors while trying to install or update anything through terminal or update manager. (Reading database ... ...
0
votes
0answers
15 views

I try to install megasync and now I have problems with dependencies [closed]

I try to install megasync and now I can't run sudo apt-get install upgrade and sudo apt-get -f install root@kali:~# apt-get -f install Reading package lists... Done Building dependency tree ...
0
votes
0answers
11 views

remove mysql with its unmet dependencies from ubuntu

I tried to install mysql into ubuntu The installation file was .deb It was not properly installed. Now i want to remove it. I used following command to remove it sudo apt-get remove --purge ...
1
vote
1answer
18 views

/usr/bin/dpkg issue when installing apache

I think I may have deleted an important directory while uninstalling apache I'm experiencing the following issue when trying to install Apache: Setting up apache2 (2.4.7-1ubuntu4.4) ... cp: cannot ...
-3
votes
0answers
22 views

Depends Debian problem [closed]

> > apt-get --fix-broken install Reading package lists... Done Building dependency tree Reading state information... Done Correcting > dependencies... failed. The following packages have ...
3
votes
0answers
28 views

How to prevent apt-get install from removing package holds?

We've recently upgraded from 10.04 to 14.04. We have some held packages, which we upgrade them from time to time. It appears that on 14.04, when you install or upgrade a package it removes the hold ...
1
vote
1answer
36 views

Unable to install wk .deb [duplicate]

I am unable to install wkhtmltopdf on Ubuntu 14.4. I downloaded from wkhtmltopdf Linux (Ubuntu Trusty) 64 bit. I ran the following command: sudo dpkg -i wkhtmltox-0.12.2.1_linux-trusty-amd64.deb ...
1
vote
0answers
12 views

What is the correct way of using Qt 5.4 in my .deb package?

I want to create a .deb package for an application that I am working on, which depends on Qt >= 5.4 For some supported versions of Ubuntu this version is not available except via packages from a ppa. ...
1
vote
0answers
24 views

Unable to run apt-get update openssl on 12.04

I am trying to run sudo apt-get update openssl on Ubuntu Server 12.04, however when I do, I get the following error: Starting nginx: invoke-rc.d: initscript nginx, action "start" failed. dpkg: error ...
0
votes
0answers
61 views

Cannot upgrade Ubuntu 14.04.02 due to kernel package problem

I am experiencing a problem with 3.13.0.57 kernel. After the upgrade the system was not able to boot anymore. I booted it with the previous kernel image and tried to remove the broken kernel packages, ...
0
votes
1answer
50 views

update-rc.d: error: insserv rejected the script header dpkg: erreur de traitement du paquet util-linux (--configure) :

i try to install upgrade or some packages and i receive the error E: Sub-process /usr/bin/dpkg returned an error code (1) update-rc.d: error: insserv rejected the script header dpkg: erreur de ...
0
votes
0answers
19 views

apt-get can't overwrite file of already existing file of another package

I'm having problems with installing some applications. unity-tweak-tool I installed the program crashes after installation. I do not know what to do? apt-get -f install Reading package lists ... ...
-1
votes
1answer
44 views

DPKG is not responding [closed]

I was installing wine in my Ubuntu 14.04. I got a pop-up and It was not responding . So, I have closed the Terminal. Then after when ever I am trying to execute sudo apt-get install then I am ...
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 ...
0
votes
1answer
239 views

Cannot seem to be able to resolve tzdata installation error problem

Lately every package I attempt to install, whether designed to run under WINE or not, gives me the same following error report: debconf: Perl may be unconfigured (Can't locate strict.pm in @INC (you ...
0
votes
1answer
27 views

Error sudo apt-get install -f

(Reading database ... 152963 files and directories currently installed.) Preparing to unpack .../libjpeg8_8d-1+deb7u1_amd64.deb ... Unpacking libjpeg8:amd64 (8d-1+deb7u1) over (8c-2ubuntu8) ... dpkg: ...
3
votes
1answer
30 views

apt-get install fails due to empty /var/lib/dpkg/diversions

I've got a freshly installed trusty installation, where I have so far done the following: Installed Run sudo apt-get update && sudo apt-get dist-upgrade (and ran the update) After a reboot ...
3
votes
3answers
10k views

Error installing packages or updating due to dpkg: error processing linux-image-extra-3.11.0-15-generic

A few days back I tried to install 0ad, a game, through the terminal. I accidentally closed the terminal before it was finished and now I can't install or update any program on my machine. I'm running ...
1
vote
1answer
47 views

How can I restore system files that were accidentally deleted in /usr/share and /var/lib/dpkg?

So ya, earlier today I accidentally ran a rm -rf /usr/share and let it run for about 15 seconds. And then in trying to fix the error I went ahead and uninstalled all of my desktops and a bunch of ...
2
votes
3answers
256 views

Cannot apt upgrade due to kernel package problems

an Ubuntu 14.04 LTS user here. Basically I had a problem when running sudo apt-get update sudo apt-get upgrade An error code was returned by dpkg because the Linux kernel package 3.13.0.57 was ...
6
votes
7answers
20k views

dpkg: invoke-rc.d: initscript mysql, action “start” failed

I have read a number of the posts here and they all state to run the following commands: Apt-get -f remove ** apt-get update apt-get upgrade apt-get -f install ** I have seen these in various ...
10
votes
3answers
19k views

dpkg: error: dpkg status database is locked by another process

I just wondered if somebody could tell me what this means: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. reidsr@ubuntu:~$ sudo dpkg --configure -a ...
0
votes
0answers
27 views

How do I fix the font in my terminal, and everything else after removing appmenu?

So I was looking for a way to disable the global menu bar in Ubuntu 15.04, In the process I found this command. sudo apt-get autoremove appmenu-gtk appmenu-gtk3 appmenu-qt which did not solve my ...
0
votes
0answers
18 views

install multiarch -dev package - apt does not resolve dependencies

I want to build third party software that uses the mcrypt and curl libraries. I have an armhf system and an x86_64 system, both Ubuntu 15.04. On the target I can do user@armhf:~$ sudo apt-get install ...
0
votes
0answers
11 views

Relink dependencies dpkg

I removed a self-compiled .deb-package (OpenCV) by using dpkg -r --force-depends. I have done that this way because another package (ROS) have some dependencies on it. The purpose was just to ...
4
votes
2answers
2k views

Install deb package with all dependencies in same folder?

I need to install multiple deb files of same software from apt cache in another ubuntu installation. For example, I have all deb files of vlc in same folder(/var/cache/apt/archives). I need to ...
0
votes
1answer
24 views

sudo dpkg i chntpw* is not working

I am trying to run sudo dpkg -i chntpw* while running Ubuntu from a USB drive on my PC. I get this message. (Reading database ... 169714 files and directories currently installed.) Preparing to ...