Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: /var/lib/dpkg/ lock ...partition ??  (Read 1542 times)

Offline rueX

  • User
  • Posts: 121
/var/lib/dpkg/ lock ...partition ??
« on: 2014/09/03, 12:23:10 »
my siduction is: sda3 running fine.

so i do:
umount /dev/sda2
fsck /dev/sda2

to check other system there. All fine at sda2

Then: root: sda3 i made d-u succesfully.

then:
apt-get clean
apt-get autoclean

and:
suddenly:

message: /var/lib/dpkg/ lock ....apt-get autoclean not possible

why  ?  ??  my system is on sda3 !

so i mount /dev/sda2 ...and all is well...

how can i check anything wants to write to other system sda2 ?


Edit: ...i can not remember at installation sda3=siduction i was asked for an external /home at other partition - or i did that wrong ? How can i see that today ?

please.
« Last Edit: 2014/09/03, 12:42:22 by rueX »

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.615
Re: /var/lib/dpkg/ lock ...partition ??
« Reply #1 on: 2014/09/03, 18:05:00 »
Da läuft dann meist noch ein anderer Prozess, der auf dpkg zugreift. also etwa ein grafischer Paketmanager oder ähnliches. Nachgucken mit lsof kann das klären.


greetz
devil

Offline rueX

  • User
  • Posts: 121
Re: /var/lib/dpkg/ lock ...partition ??
« Reply #2 on: 2014/09/03, 19:52:11 »
danke devil

es werden unzählige wiederholungen von:
...
kworker/1 14661             root NOFD                                           /proc/14661/fd (opendir: Permission denied)
kworker/0 21423             root  cwd   unknown                                 /proc/21423/cwd (readlink: Permission denied)
kworker/0 21423             root  rtd   unknown                                 /proc/21423/root (readlink: Permission denied)
kworker/0 21423             root  txt   unknown                                 /proc/21423/exe (readlink: Permission denied
...
gezeigt ...keine Ahnung wie ich das in Griff bekomme ...

greetz rue