Update Issue

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
techie716
Level 2
Level 2
Posts: 51
Joined: Mon Sep 04, 2017 1:43 am

Re: Update Issue

Post by techie716 »

aFTER REBOOT RAN UPDATE MANAGER GOT THIS:

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
techie716
Level 2
Level 2
Posts: 51
Joined: Mon Sep 04, 2017 1:43 am

Re: Update Issue

Post by techie716 »

After reboot, I ran the command below and it stalled now for 20 minutes at the last line:

Code: Select all

dusty@dusty-HP-Z220-CMT-Workstation ~ $ sudo dpkg --configure -a
[sudo] password for dusty: 
Setting up linux-image-4.8.0-53-generic (4.8.0-53.56~16.04.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
initrd.img(/boot/initrd.img-4.8.0-53-generic
) points to /boot/initrd.img-4.8.0-53-generic
 (/boot/initrd.img-4.8.0-53-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-4.8.0-53-generic.postinst line 491.
vmlinuz(/boot/vmlinuz-4.8.0-53-generic
) points to /boot/vmlinuz-4.8.0-53-generic
 (/boot/vmlinuz-4.8.0-53-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-4.8.0-53-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.8.0-53-generic /boot/vmlinuz-4.8.0-53-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.8.0-53-generic /boot/vmlinuz-4.8.0-53-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.8.0-53-generic /boot/vmlinuz-4.8.0-53-generic
update-initramfs: Generating /boot/initrd.img-4.8.0-53-generic
Last edited by WharfRat on Fri Sep 08, 2017 10:39 am, edited 1 time in total.
Reason: Added code tag and removed bold and italic tags
techie716
Level 2
Level 2
Posts: 51
Joined: Mon Sep 04, 2017 1:43 am

Re: Update Issue

Post by techie716 »

After breaking into terminal I copied everything from the break on:

Code: Select all

update-initramfs: Generating /boot/initrd.img-4.8.0-53-generic
^X^CFailed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-4.8.0-53-generic.postinst line 1052.
dpkg: error processing package linux-image-4.8.0-53-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-kernel-generic:
 linux-kernel-generic depends on linux-image-4.8.0-53-generic; however:
  Package linux-image-4.8.0-53-generic is not configured yet.

dpkg: error processing package linux-kernel-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-4.8.0-53-generic:
 linux-image-extra-4.8.0-53-generic depends on linux-image-4.8.0-53-generic; however:
  Package linux-image-4.8.0-53-generic is not configured yet.

dpkg: error processing package linux-image-extra-4.8.0-53-generic (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-4.8.0-53-generic
 linux-kernel-generic
 linux-image-extra-4.8.0-53-generic
dusty@dusty-HP-Z220-CMT-Workstation ~ $
Last edited by WharfRat on Fri Sep 08, 2017 10:40 am, edited 1 time in total.
Reason: Added code tag
User avatar
WharfRat
Level 21
Level 21
Posts: 13897
Joined: Thu Apr 07, 2011 8:15 pm

Re: Update Issue

Post by WharfRat »

Can you paste back dpkg -l|egrep 'linux\-head|linux\-image' and aptitude why-not linux-image-4.8.0-53-generic
ImageImage
techie716
Level 2
Level 2
Posts: 51
Joined: Mon Sep 04, 2017 1:43 am

Re: Update Issue

Post by techie716 »

I have this opened in another forum and they suggested running this:

Code: Select all

dusty@dusty-HP-Z220-CMT-Workstation ~ $ ps aux | grep apt
dusty    25993  0.0  0.0  12892   980 pts/5    R+   10:34   0:00 grep --color=auto apt
root     27145  0.0  0.0  90352  4916 ?        S    Sep04   0:00 sudo apt-get install --reinstall --install-recommends xserver-xorg-core-lts-xenial
root     27146  0.0  0.2 114488 76976 ?        S    Sep04   0:20 apt-get install --reinstall --install-recommends xserver-xorg-core-lts-xenial
dusty@dusty-HP-Z220-CMT-Workstation ~ $ 
I included this in case it helps you. Thank you for all help so far. We users may not show it but I for one appreciate all you do.
Last edited by WharfRat on Fri Sep 08, 2017 10:40 am, edited 1 time in total.
Reason: Added code tag
techie716
Level 2
Level 2
Posts: 51
Joined: Mon Sep 04, 2017 1:43 am

Re: Update Issue

Post by techie716 »

Can you paste backdusty@dusty-HP-Z220-CMT-Workstation ~ $ sudo dpkg -l|egrep 'linux\-head|linux\-image
>

dusty@dusty-HP-Z220-CMT-Workstation ~ $ sudo dpkg -l|egrep 'linux\-head|linux\-image
>

Nothing happens with the above commands?
BUT:

Code: Select all

sudo aptitude why-not linux-image-4.8.0-53-generic
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?
W: Could not lock the cache file; this usually means that dpkg or another apt tool is already installing packages.  Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!
p   zenity:i386                       Provides   zenity                         
p   zenity:i386                       Depends    libnotify4:i386 (>= 0.7.0)     
p   libnotify4:i386                   Recommends notification-daemon:i386       
p   gnome-shell:i386                  Provides   notification-daemon:i386       
p   gnome-shell:i386                  Recommends gdm3:i386 (>= 3.10.0.1-3~) | li
                                                 ghtdm:i386                     
p   gdm3:i386                         Recommends xserver-xorg:i386              
p   xserver-xorg:i386                 Recommends xserver-xorg-video-all:i386 | x
                                                 org-driver-video:i386          
p   virtualbox-guest-x11:i386         Provides   xorg-driver-video:i386         
p   virtualbox-guest-x11:i386         Depends    virtualbox-guest-utils:i386 (= 
                                                 5.0.40-dfsg-0ubuntu1.16.04.1)  
p   virtualbox-guest-utils:i386       Recommends virtualbox-guest-dkms:i386 (= 5
                                                 .0.40-dfsg-0ubuntu1.16.04.1) | 
                                                 virtualbox-guest-source:i386 (=
                                                  5.0.40-dfsg-0ubuntu1.16.04.1) 
                                                 | virtualbox-guest-modules:i386
p   linux-image-4.8.0-53-generic:i386 Provides   virtualbox-guest-modules:i386  
p   linux-image-4.8.0-53-generic:i386 Conflicts  linux-image-4.8.0-53-generic   
dusty@dusty-HP-Z220-CMT-Workstation ~ $ 
NO OTHER TOOLS ARE OPEN THAT I CAN SEE. sorry for caps I type with one because I lost the other with a stroke and sometimes I forget the caps lock.
Last edited by WharfRat on Fri Sep 08, 2017 10:31 am, edited 1 time in total.
Reason: Added code tag
User avatar
WharfRat
Level 21
Level 21
Posts: 13897
Joined: Thu Apr 07, 2011 8:15 pm

Re: Update Issue

Post by WharfRat »

techie716 wrote:I have this opened in another forum and they suggested running this:
dusty@dusty-HP-Z220-CMT-Workstation ~ $ ps aux | grep apt
dusty 25993 0.0 0.0 12892 980 pts/5 R+ 10:34 0:00 grep --color=auto apt
root 27145 0.0 0.0 90352 4916 ? S Sep04 0:00 sudo apt-get install --reinstall --install-recommends xserver-xorg-core-lts-xenial
root 27146 0.0 0.2 114488 76976 ? S Sep04 0:20 apt-get install --reinstall --install-recommends xserver-xorg-core-lts-xenial
dusty@dusty-HP-Z220-CMT-Workstation ~ $


I included this in case it helps you. Thank you for all help so far. We users may not show it but I for one appreciate all you do.
So did reinstalling xserver-xorg-core-lts-xenial fix things :?:
ImageImage
techie716
Level 2
Level 2
Posts: 51
Joined: Mon Sep 04, 2017 1:43 am

Re: Update Issue

Post by techie716 »

I am still having some problems namely locks such as when I try to run update manager:
Unable to get exclusive lock

This usually means that another package management application (like apt-get or aptitude) is already running. Please close that application first.

Code: Select all

dusty@dusty-HP-Z220-CMT-Workstation ~ $ sudo apt-get remove wine
[sudo] password for dusty: 
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?
dusty@dusty-HP-Z220-CMT-Workstation ~ $
Last edited by WharfRat on Fri Sep 08, 2017 10:29 am, edited 1 time in total.
Reason: Added code tag
User avatar
WharfRat
Level 21
Level 21
Posts: 13897
Joined: Thu Apr 07, 2011 8:15 pm

Re: Update Issue

Post by WharfRat »

Do these show anything sudo lsof -c apt 2>/dev/null and fuser -vm / 2>&1|grep lock
ImageImage
techie716
Level 2
Level 2
Posts: 51
Joined: Mon Sep 04, 2017 1:43 am

Re: Update Issue

Post by techie716 »

Code: Select all

dusty@dusty-HP-Z220-CMT-Workstation ~ $ sudo lsof -c apt 2>/dev/null
[sudo] password for dusty: 
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF     NODE NAME
apt-get 27146 root  cwd    DIR   8,18     4096 64749570 /home/dusty
apt-get 27146 root  rtd    DIR   8,18     4096        2 /
apt-get 27146 root  txt    REG   8,18    43128 20194757 /usr/bin/apt-get
apt-get 27146 root  mem    REG   8,18    47600 62390557 /lib/x86_64-linux-gnu/libnss_files-2.23.so
apt-get 27146 root  mem    REG   8,18    47648 62390571 /lib/x86_64-linux-gnu/libnss_nis-2.23.so
apt-get 27146 root  mem    REG   8,18    93128 62390549 /lib/x86_64-linux-gnu/libnsl-2.23.so
apt-get 27146 root  mem    REG   8,18    35688 62390594 /lib/x86_64-linux-gnu/libnss_compat-2.23.so
apt-get 27146 root  mem    REG   8,18  1088952 62390604 /lib/x86_64-linux-gnu/libm-2.23.so
apt-get 27146 root  mem    REG   8,18    96360 20193567 /usr/lib/x86_64-linux-gnu/liblz4.so.1.7.1
apt-get 27146 root  mem    REG   8,18   137400 62394832 /lib/x86_64-linux-gnu/liblzma.so.5.0.0
apt-get 27146 root  mem    REG   8,18    66800 62394764 /lib/x86_64-linux-gnu/libbz2.so.1.0.4
apt-get 27146 root  mem    REG   8,18   104864 62390509 /lib/x86_64-linux-gnu/libz.so.1.2.8
apt-get 27146 root  mem    REG   8,18   101200 62390598 /lib/x86_64-linux-gnu/libresolv-2.23.so
apt-get 27146 root  mem    REG   8,18    14608 62390592 /lib/x86_64-linux-gnu/libdl-2.23.so
apt-get 27146 root  mem    REG   8,18  1868984 62390652 /lib/x86_64-linux-gnu/libc-2.23.so
apt-get 27146 root  mem    REG   8,18    89696 62394803 /lib/x86_64-linux-gnu/libgcc_s.so.1
apt-get 27146 root  mem    REG   8,18  1566440 20188902 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
apt-get 27146 root  mem    REG   8,18   337984 20194799 /usr/lib/x86_64-linux-gnu/libapt-private.so.0.0.0
apt-get 27146 root  mem    REG   8,18  1526760 20190492 /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0.0
apt-get 27146 root  mem    REG   8,18   162632 62390551 /lib/x86_64-linux-gnu/ld-2.23.so
apt-get 27146 root  mem    REG   8,18   317692 21107211 /usr/lib/locale/en_US.utf8/LC_CTYPE
apt-get 27146 root  mem    REG   8,18  1243766 21107214 /usr/lib/locale/en_US.utf8/LC_COLLATE
apt-get 27146 root  mem    REG   8,18       54 21107212 /usr/lib/locale/en_US.utf8/LC_NUMERIC
apt-get 27146 root  mem    REG   8,18     2454 22024552 /usr/lib/locale/en_US.utf8/LC_TIME
apt-get 27146 root  mem    REG   8,18      286 22024553 /usr/lib/locale/en_US.utf8/LC_MONETARY
apt-get 27146 root  mem    REG   8,18       57 22024555 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
apt-get 27146 root  mem    REG   8,18       34 21107218 /usr/lib/locale/en_US.utf8/LC_PAPER
apt-get 27146 root  mem    REG   8,18       77 21107219 /usr/lib/locale/en_US.utf8/LC_NAME
apt-get 27146 root  mem    REG   8,18      155 22024556 /usr/lib/locale/en_US.utf8/LC_ADDRESS
apt-get 27146 root  mem    REG   8,18       59 22024557 /usr/lib/locale/en_US.utf8/LC_TELEPHONE
apt-get 27146 root  mem    REG   8,18       23 22024558 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
apt-get 27146 root  mem    REG   8,18    26258 20584568 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
apt-get 27146 root  mem    REG   8,18      361 22024559 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
apt-get 27146 root    0u   CHR  136,1      0t0        4 /dev/pts/1 (deleted)
apt-get 27146 root    1u   CHR  136,1      0t0        4 /dev/pts/1 (deleted)
apt-get 27146 root    2u   CHR  136,1      0t0        4 /dev/pts/1 (deleted)
apt-get 27146 root    3w   CHR    1,3      0t0     1030 /dev/null
apt-get 27146 root    4w   REG   8,18    18674 28705020 /var/log/apt/term.log
apt-get 27146 root    5r   REG   8,18  3061023 28707412 /var/lib/dpkg/status
apt-get 27146 root    6r   REG   8,18     2805 28713422 /var/lib/apt/lists/ppa.launchpad.net_teejee2008_ppa_ubuntu_dists_xenial_main_i18n_Translation-en
apt-get 27146 root    7r   REG   8,18     8635 28713410 /var/lib/apt/lists/ppa.launchpad.net_teejee2008_ppa_ubuntu_dists_xenial_main_binary-i386_Packages
apt-get 27146 root    8r   REG   8,18     8662 28711170 /var/lib/apt/lists/ppa.launchpad.net_teejee2008_ppa_ubuntu_dists_xenial_main_binary-amd64_Packages
apt-get 27146 root    9r   REG   8,18     9739 28709589 /var/lib/apt/lists/downloads.plex.tv_repo_deb_dists_public_main_binary-i386_Packages (deleted)
apt-get 27146 root   10r   REG   8,18     9790 28709478 /var/lib/apt/lists/downloads.plex.tv_repo_deb_dists_public_main_binary-amd64_Packages (deleted)
apt-get 27146 root   11r   REG   8,18     4228 28713670 /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_xenial_partner_i18n_Translation-en
apt-get 27146 root   12r   REG   8,18     9513 28713436 /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_xenial_partner_binary-i386_Packages
apt-get 27146 root   13r   REG   8,18     9534 28713061 /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_xenial_partner_binary-amd64_Packages
apt-get 27146 root   14r   REG   8,18     5086 28716374 /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_xenial-security_multiverse_i18n_Translation-en
apt-get 27146 root   15r   REG   8,18    12874 28716373 /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_xenial-security_multiverse_binary-i386_Packages
apt-get 27146 root   16r   REG   8,18    11982 28716370 /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_xenial-security_multiverse_binary-amd64_Packages
apt-get 27146 root   17r   REG   8,18   622643 28716365 /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_xenial-security_universe_i18n_Translation-en (deleted)
apt-get 27146 root   18r   REG   8,18   807440 28716362 /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_xenial-security_universe_binary-i386_Packages (deleted)
apt-get 27146 root   19r   REG   8,18   941869 28716361 /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_xenial-security_universe_binary-amd64_Packages (deleted)
apt-get 27146 root   20r   REG   8,18    16164 28716358 /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_xenial-security_restricted_i18n_Translation-en
apt-get 27146 root   21r   REG   8,18   101933 28716350 /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_xenial-security_restricted_binary-i386_Packages
apt-get 27146 root   22r   REG   8,18   102017 28716064 /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_xenial-security_restricted_binary-amd64_Packages
apt-get 27146 root   23r   REG   8,18  2205400 28714869 /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_xenial-security_main_i18n_Translation-en (deleted)
apt-get 27146 root   24r   REG   8,18  2125385 28713741 /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_xenial-security_main_binary-i386_Packages (deleted)
apt-get 27146 root   25r   REG   8,18  2306293 28713718 /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_xenial-security_main_binary-amd64_Packages (deleted)
apt-get 27146 root   26r   REG   8,18     9271 28716801 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-backports_universe_i18n_Translation-en
apt-get 27146 root   27r   REG   8,18    24619 28716783 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-backports_universe_binary-i386_Packages
apt-get 27146 root   28r   REG   8,18    24626 28716781 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-backports_universe_binary-amd64_Packages
apt-get 27146 root   29r   REG   8,18    13516 28716778 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-backports_main_i18n_Translation-en
apt-get 27146 root   30r   REG   8,18    20069 28716775 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-backports_main_binary-i386_Packages
apt-get 27146 root   31r   REG   8,18    20097 28716770 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-backports_main_binary-amd64_Packages
apt-get 27146 root   32r   REG   8,18    34537 28716763 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_multiverse_i18n_Translation-en
apt-get 27146 root   33r   REG   8,18    77553 28716756 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_multiverse_binary-i386_Packages
apt-get 27146 root   34r   REG   8,18    82699 28716733 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_multiverse_binary-amd64_Packages
apt-get 27146 root   35r   REG   8,18  1606097 28716695 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_universe_i18n_Translation-en (deleted)
apt-get 27146 root   36r   REG   8,18  3311653 28716675 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_universe_binary-i386_Packages (deleted)
apt-get 27146 root   37r   REG   8,18  3465503 28716671 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_universe_binary-amd64_Packages (deleted)
apt-get 27146 root   38r   REG   8,18    16955 28716658 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_restricted_i18n_Translation-en
apt-get 27146 root   39r   REG   8,18   104914 28716634 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_restricted_binary-i386_Packages
apt-get 27146 root   40r   REG   8,18   105001 28716540 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_restricted_binary-amd64_Packages
apt-get 27146 root   41r   REG   8,18  3073761 28716454 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_main_i18n_Translation-en
apt-get 27146 root   42r   REG   8,18  3915239 28716446 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_main_binary-i386_Packages (deleted)
apt-get 27146 root   43r   REG   8,18  4113682 28716441 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_main_binary-amd64_Packages (deleted)
apt-get 27146 root   44r   REG   8,18   440098 28716436 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_multiverse_i18n_Translation-en
apt-get 27146 root   45r   REG   8,18   668679 28716435 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_multiverse_binary-i386_Packages
apt-get 27146 root   46r   REG   8,18   694127 28716432 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_multiverse_binary-amd64_Packages
apt-get 27146 root   47r   REG   8,18 23426103 28716424 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_universe_i18n_Translation-en
apt-get 27146 root   48r   REG   8,18 41649086 28716417 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_universe_binary-i386_Packages
apt-get 27146 root   49r   REG   8,18 41813552 28716414 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_universe_binary-amd64_Packages
apt-get 27146 root   50r   REG   8,18    20517 28716412 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_restricted_i18n_Translation-en
apt-get 27146 root   51r   REG   8,18   128050 28716411 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_restricted_binary-i386_Packages
apt-get 27146 root   52r   REG   8,18   127112 28716410 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_restricted_binary-amd64_Packages
apt-get 27146 root   53r   REG   8,18  3600400 28716400 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_main_i18n_Translation-en
apt-get 27146 root   54r   REG   8,18  7187961 28716393 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_main_binary-i386_Packages
apt-get 27146 root   55r   REG   8,18  7228243 28716391 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_main_binary-amd64_Packages
apt-get 27146 root   56r   REG   8,18   309603 28713671 /var/lib/apt/lists/packages.linuxmint.com_dists_sonya_backport_binary-i386_Packages
apt-get 27146 root   57r   REG   8,18   308436 28713423 /var/lib/apt/lists/packages.linuxmint.com_dists_sonya_backport_binary-amd64_Packages
apt-get 27146 root   58r   REG   8,18    24088 28713090 /var/lib/apt/lists/packages.linuxmint.com_dists_sonya_import_binary-i386_Packages
apt-get 27146 root   59r   REG   8,18    24114 28711991 /var/lib/apt/lists/packages.linuxmint.com_dists_sonya_import_binary-amd64_Packages
apt-get 27146 root   60r   REG   8,18   196513 28711222 /var/lib/apt/lists/packages.linuxmint.com_dists_sonya_upstream_binary-i386_Packages
apt-get 27146 root   61r   REG   8,18   199462 28710576 /var/lib/apt/lists/packages.linuxmint.com_dists_sonya_upstream_binary-amd64_Packages
apt-get 27146 root   62r   REG   8,18    60896 28710381 /var/lib/apt/lists/packages.linuxmint.com_dists_sonya_main_binary-i386_Packages
apt-get 27146 root   63r   REG   8,18    62943 28709636 /var/lib/apt/lists/packages.linuxmint.com_dists_sonya_main_binary-amd64_Packages
apt-get 27146 root   64uW  REG   8,18        0 28704799 /var/cache/apt/archives/lock
apt-get 27146 root   65w   REG   8,18     6061 28704967 /var/log/apt/history.log
apt-get 27146 root   66u   CHR    5,2      0t0     1111 /dev/ptmx
apt-get 27146 root   67u   CHR  136,2      0t0        5 /dev/pts/2
apt-get 27146 root   68r  FIFO   0,12      0t0    75339 pipe
dusty@dusty-HP-Z220-CMT-Workstation ~ $
Last edited by WharfRat on Fri Sep 08, 2017 12:01 am, edited 1 time in total.
Reason: Added code tag
techie716
Level 2
Level 2
Posts: 51
Joined: Mon Sep 04, 2017 1:43 am

Re: Update Issue

Post by techie716 »

Code: Select all

dusty@dusty-HP-Z220-CMT-Workstation ~ $ fuser -vm / 2>&1|grep lock
                     root        117 .rce. kblockd
                     root       1873 .rce. lockd
                     root       1937 .rce. cifsoplockd
                     root       2007 .rce. vmware-vmblock-
dusty@dusty-HP-Z220-CMT-Workstation ~ $
Last edited by WharfRat on Fri Sep 08, 2017 10:29 am, edited 1 time in total.
Reason: Added code tag
techie716
Level 2
Level 2
Posts: 51
Joined: Mon Sep 04, 2017 1:43 am

Re: Update Issue

Post by techie716 »

I apologize if I am not quick to respond we have family from Florida visiting due to the hurricane, its been busy.
User avatar
WharfRat
Level 21
Level 21
Posts: 13897
Joined: Thu Apr 07, 2011 8:15 pm

Re: Update Issue

Post by WharfRat »

techie716 wrote:I apologize if I am not quick to respond we have family from Florida visiting due to the hurricane, its been busy.
It looks like all of Florida will be impacted by this hurricane.

I don't know what to say about apt here, I didn't expect such a long list :?

This is what I get even when I force an update with update manager.

Code: Select all

[bill@XPS] ~ $ sudo lsof -c apt 2>/dev/null
[bill@XPS] ~ $ 
What does pgrep -a apt return :?:
ImageImage
techie716
Level 2
Level 2
Posts: 51
Joined: Mon Sep 04, 2017 1:43 am

Re: Update Issue

Post by techie716 »

Code: Select all

dusty@dusty-HP-Z220-CMT-Workstation ~ $  pgrep -a apt
dusty@dusty-HP-Z220-CMT-Workstation ~ $ sudo  pgrep -a apt
[sudo] password for dusty: 
dusty@dusty-HP-Z220-CMT-Workstation ~ $
Last edited by WharfRat on Fri Sep 08, 2017 10:40 am, edited 1 time in total.
Reason: Added code tag
techie716
Level 2
Level 2
Posts: 51
Joined: Mon Sep 04, 2017 1:43 am

Re: Update Issue

Post by techie716 »

Code: Select all

dusty@dusty-HP-Z220-CMT-Workstation ~ $ sudo lsof -c apt 2>/dev/null
dusty@dusty-HP-Z220-CMT-Workstation ~ $
Last edited by WharfRat on Fri Sep 08, 2017 10:41 am, edited 1 time in total.
Reason: Added code tag
techie716
Level 2
Level 2
Posts: 51
Joined: Mon Sep 04, 2017 1:43 am

Re: Update Issue

Post by techie716 »

Code: Select all

dusty@dusty-HP-Z220-CMT-Workstation ~ $ sudo apt-get install -f
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 
dusty@dusty-HP-Z220-CMT-Workstation ~ $ 


dusty@dusty-HP-Z220-CMT-Workstation ~ $ sudo ps aux | grep apt
dusty    26052  0.0  0.0  12892  1088 pts/4    S+   00:23   0:00 grep --color=auto apt

dusty@dusty-HP-Z220-CMT-Workstation ~ $ sudo apt-get remove wineE: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 
dusty@dusty-HP-Z220-CMT-Workstation ~ $ 

dusty@dusty-HP-Z220-CMT-Workstation ~ $ sudo apt-get update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Ign:2 http://packages.linuxmint.com sonya InRelease                            
Hit:3 http://packages.linuxmint.com sonya Release                              
Hit:4 http://archive.ubuntu.com/ubuntu xenial InRelease                        
Hit:5 http://ppa.launchpad.net/teejee2008/ppa/ubuntu xenial InRelease          
Get:7 https://downloads.plex.tv/repo/deb public InRelease [3,408 B]            
Hit:8 http://archive.canonical.com/ubuntu xenial InRelease                     
Get:9 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Ign:7 https://downloads.plex.tv/repo/deb public InRelease    
Ign:10 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages
Ign:11 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages
Get:10 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [168 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]    
Get:11 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [147 kB]
Fetched 624 kB in 1s (392 kB/s)                                     
Reading package lists... Done
W: GPG error: https://downloads.plex.tv/repo/deb public InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 97203C7B3ADCA79D
W: The repository 'https://downloads.plex.tv/repo/deb public InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
dusty@dusty-HP-Z220-CMT-Workstation ~ $
Last edited by WharfRat on Fri Sep 08, 2017 10:29 am, edited 1 time in total.
Reason: Added code tag
User avatar
WharfRat
Level 21
Level 21
Posts: 13897
Joined: Thu Apr 07, 2011 8:15 pm

Re: Update Issue

Post by WharfRat »

What were you doing/running when you got that long list from sudo lsof -c apt 2>/dev/null :?:
ImageImage
User avatar
killer de bug
Level 14
Level 14
Posts: 5399
Joined: Tue Jul 08, 2008 1:49 pm
Location: Leuven, Belgium

Re: Update Issue

Post by killer de bug »

apt policy linux-image-4.8.0-53-generic linux-kernel-generic linux-image-extra-4.8.0-53-generic
If it ain't broke, fix it until it is.
techie716
Level 2
Level 2
Posts: 51
Joined: Mon Sep 04, 2017 1:43 am

Re: Update Issue

Post by techie716 »

I was not running nything that I know of, I killed all the processes with sudo kill # that were listed. Took a chance probably was wrong but tried something

Code: Select all

apt policy linux-image-4.8.0-53-generic linux-kernel-generic linux-image-extra-4.8.0-53-generic=
dusty@dusty-HP-Z220-CMT-Workstation ~ $ apt policy linux-image-4.8.0-53-generic linux-kernel-generic linux-image-extra-4.8.0-53-generic
linux-image-4.8.0-53-generic:
  Installed: 4.8.0-53.56~16.04.1
  Candidate: 4.8.0-53.56~16.04.1
  Version table:
 *** 4.8.0-53.56~16.04.1 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status
linux-kernel-generic:
  Installed: 4.8.0-53.1
  Candidate: 4.8.0-53.1
  Version table:
 *** 4.8.0-53.1 500
        500 http://packages.linuxmint.com sonya/main amd64 Packages
        500 http://packages.linuxmint.com sonya/main i386 Packages
        100 /var/lib/dpkg/status
linux-image-extra-4.8.0-53-generic:
  Installed: 4.8.0-53.56~16.04.1
  Candidate: 4.8.0-53.56~16.04.1
  Version table:
 *** 4.8.0-53.56~16.04.1 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status
dusty@dusty-HP-Z220-CMT-Workstation ~ $ 
Last edited by WharfRat on Fri Sep 08, 2017 10:28 am, edited 1 time in total.
Reason: Added code tag
User avatar
WharfRat
Level 21
Level 21
Posts: 13897
Joined: Thu Apr 07, 2011 8:15 pm

Re: Update Issue

Post by WharfRat »

I have a feeling that part of your problems are due to the repo mix you have.

Paste back inxi -r
ImageImage
Post Reply

Return to “Newbie Questions”