1

I am using Stable Debian (8.1 - jessie), installed from Live (debian-live-8.1.0-amd64-xfce-desktop.iso)...

Now, starting to install all other things, nothing is possible (!)... apt-get and Synaptic not working...

  • with apt-get install apache2: "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 another process using it?".

  • with Synaptic interface: mark apache2, ... When I press [apply] it says, at alert, "Could not apply changes, Fix broken packages first".


NOTES

I am logged with root in the descktop interface, and do (with no error alert) all the suggested updates,

 apt-get update
 apt-get upgrade
 apt-get dist-upgrade
 apt-get install -f
2
  • Are you sure, that there isn't another installation process still running somewhere?
    – user90883
    Commented Aug 26, 2015 at 19:54
  • @ThomasWeinbrenner I boot 3 or 5 times, and redo the process.... I do rm /var/lib/dpkg/lock and run Synaptic and same problem... Commented Aug 26, 2015 at 20:14

1 Answer 1

0

No terrible problem... Was /etc/apt/sources.list, it needs to comment old and add new

# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150606-15:13]/ jessie main

#deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150606-15:13]/ jessie main

#lixio deb http://security.debian.org/ jessie/updates main
#lixo deb-src http://security.debian.org/ jessie/updates main

deb http://ftp.br.debian.org/debian jessie main contrib non-free
deb-src http://ftp.br.debian.org/debian jessie main contrib non-free

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .