Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: [SOLVED] Having some package error issue.

  1. #11
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    4,952

    Re: Having some package error issue.

    The error is that a lockfile is present.
    Look for it in /var/lock. If there, rm the lockfile...if you are really, really, really sure that dpkg isn't running.

    See http://ubuntuforums.org/showthread.php?t=1495612 for a similar situation a few years ago.

  2. #12
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Having some package error issue.

    shahzaibmuneeb; K;

    Let's go with your thought - even though there is no other instance of it raising it's head - :
    Code:
    sudo dpkg-reconfigure phpmyadmin
    to make sure phpmyadmin is not an issue.

    Why can I not remain with kernel 49 without this error?
    because: if the package manager is not happy, nobody is happy

    maybe a step forward
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  3. #13
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Having some package error issue.

    shahzaibmuneeb; Hey ...

    Still with us ?
    Ian's directive is apt:
    Code:
    sysop@1404mini:~$ ls -al /var/lock
    lrwxrwxrwx 1 root root 9 May 19  2013 /var/lock -> /run/lock
    sysop@1404mini:~$ ls -al /run/lock
    total 0
    drwxrwxrwt  2 root root  40 Feb 23 11:33 .
    drwxr-xr-x 17 root root 540 Feb 23 11:37 ..
    sysop@1404mini:~$
    and as well that of runrickus, when we know what the lock condition is .

    together we can
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  4. #14
    Join Date
    Jun 2005
    Beans
    Hidden!

    Re: Having some package error issue.

    ***This is just informational***
    ian-weisser gives very wise advice with being very sure that dpkg is not running!!
    Never being one to tell someone to run commands blindly>>>
    Here is what Bashing-om's output returns for me on fresh install of Xenial(16.04), Plus running my first post command..
    Code:
    [me@me-Lenovo-B570 ~]$ ls -al /var/lock
    lrwxrwxrwx 1 root root 9 Feb 23 12:22 /var/lock -> /run/lock
    [me@me-Lenovo-B570 ~]$ ls -al /run/lock
    total 4
    drwxrwxrwt  4 root     root     100 Feb 23 16:09 .
    drwxr-xr-x 28 root     root     880 Feb 23 19:34 ..
    -rw-r--r--  1 root     root      22 Feb 23 16:09 asound.state.lock
    drwxr-xr-x  2 root     root      40 Feb 23 16:09 subsys
    drwxr-xr-x  2 whoopsie whoopsie  60 Feb 23 16:09 whoopsie
    [me@me-Lenovo-B570 ~]$ sudo \rm -v /var/cache/debconf/*.dat
    [sudo] password for me: 
    removed '/var/cache/debconf/config.dat'
    removed '/var/cache/debconf/passwords.dat'
    removed '/var/cache/debconf/templates.dat'
    [me@me-Lenovo-B570 ~]$ ls -al /run/lock
    total 4
    drwxrwxrwt  4 root     root     100 Feb 23 16:09 .
    drwxr-xr-x 28 root     root     880 Feb 23 19:34 ..
    -rw-r--r--  1 root     root      22 Feb 23 16:09 asound.state.lock
    drwxr-xr-x  2 root     root      40 Feb 23 16:09 subsys
    drwxr-xr-x  2 whoopsie whoopsie  60 Feb 23 16:09 whoopsie
    [me@me-Lenovo-B570 ~]$
    .
    It would be good advice to reboot after for a clean session.

  5. #15
    Join Date
    Oct 2015
    Beans
    14

    Re: Having some package error issue.

    I have ran these commands:

    Should I run runrickus's command?

    Code:
    shahzaib@thinkpad:~$ sudo dpkg-reconfigure phpymyadmin
    [sudo] password for shahzaib: 
    dpkg-query: package 'phpymyadmin' is not installed and no information is available
    Use dpkg --info (= dpkg-deb --info) to examine archive files,
    and dpkg --contents (= dpkg-deb --contents) to list their contents.
    /usr/sbin/dpkg-reconfigure: phpymyadmin is not installed.
    Code:
    shahzaib@thinkpad:~$ ls -al /var/lock
    lrwxrwxrwx 1 root root 9 Oct 28 19:32 /var/lock -> /run/lock
    shahzaib@thinkpad:~$ ls -al /run/lock
    total 0
    drwxrwxrwt  4 root     root       80 Feb 24 07:35 .
    drwxr-xr-x 31 root     root     1080 Feb 24 07:35 ..
    drwxr-xr-x  2 www-data root       40 Feb 24 07:34 apache2
    drwxr-xr-x  2 whoopsie whoopsie   60 Feb 24 07:34 whoopsie
    shahzaib@thinkpad:~$ ^C
    shahzaib@thinkpad:~$

  6. #16
    Join Date
    Oct 2015
    Beans
    14

    Re: Having some package error issue.

    Okay! Woo! I follow Ian's link (http://ubuntuforums.org/showthread.php?t=1495612) and that helped cancel my partway phpmyadmin installation. Then after that I ran

    Code:
    sudo apt-get -f install
    and that seemed to fix it.

    Thank you guys

  7. #17
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: [SOLVED] Having some package error issue.

    shahzaibmuneeb;

    Outstanding work .

    I say again
    ain't 'buntu wonderful
    together we can
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •