Page 2 of 8 FirstFirst 1234 ... LastLast
Results 11 to 20 of 80

Thread: How do i change permissions for initramfs.conf

  1. #11
    Join Date
    Mar 2013
    Beans
    57
    Distro
    Lubuntu

    Re: How do i change permissions for initramfs.conf

    opps i noticed a mistake in the code so i ran it again with the fix in it and got
    Code:
    lubuntu@lubuntu:~$ sudo dpkg --purge --pending
    dpkg: error: dpkg status database is locked by another process
    lubuntu@lubuntu:~$
    Last edited by matt_symes; April 5th, 2013 at 11:29 PM.

  2. #12
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,625
    Distro
    Ubuntu Development Release

    Re: How do i change permissions for initramfs.conf

    Hi

    Do you have update manager or software center open.

    If you do then close them and re-run the commands in my last post.

    If they are not open then please post the output of

    Code:
    ps aux | egrep "dpkg|apt|cent|manager"
    and

    Code:
    sudo lsof /var/lib/dpkg/status
    Something has a lock on your dpkg status database

    Kind regards
    Last edited by matt_symes; April 5th, 2013 at 11:28 PM.
    Join us on irc at #ubuntuforums. For web chat see here

    If you believe everything you read, you better not read. ~ Japanese Proverb

    Do not read newspapers on an empty stomach ~ Russian Proverb ~ BrunoLotse

  3. #13
    Join Date
    Mar 2013
    Beans
    57
    Distro
    Lubuntu

    Re: How do i change permissions for initramfs.conf

    Code:
    lubuntu@lubuntu:~$ ps aux | egrep "dpkg|apt|cent|manager"root        66  0.0  0.0      0     0 ?        S<   13:44   0:00 [charger_manager]
    root      2600  0.0  0.3   7428  1600 ?        Ss   13:45   0:00 /usr/sbin/modem-manager
    lubuntu   4062  0.0  0.3  29656  1852 ?        Ssl  13:45   0:00 xfce4-power-manager
    root      4308  0.0  0.1   5492   616 ?        S    13:45   0:00 /sbin/dhclient -d -4 -sf /usr/lib/NetworkManager/nm-dhcp-client.action -pf /var/run/sendsigs.omit.d/network-manager.dhclient-usb0.pid -lf /var/lib/dhcp/dhclient-6ba03832-bafc-4a44-99ea-69e17e8836e0-usb0.lease -cf /var/run/nm-dhclient-usb0.conf usb0
    nobody    4313  0.0  0.1   5720   972 ?        S    13:45   0:00 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/var/run/sendsigs.omit.d/network-manager.dnsmasq.pid --listen-address=127.0.1.1 --conf-file=/var/run/nm-dns-dnsmasq.conf --cache-size=0 --proxy-dnssec --enable-dbus=org.freedesktop.NetworkManager.dnsmasq --conf-dir=/etc/NetworkManager/dnsmasq.d
    root      7786  0.0  0.1   7852   900 ?        S    14:27   0:00 sudo apt-get upgrade
    root      7787  0.0  0.1  34680   908 ?        S    14:27   0:05 apt-get upgrade
    root      8619  0.0  0.1   7708   624 pts/0    Ss+  14:35   0:00 /usr/bin/dpkg --status-fd 39 --configure linux-image-3.5.0-26-generic:i386 linux-image-extra-3.5.0-26-generic:i386 linux-image-generic:i386 linux-generic:i386 libavutil51:i386 libavcodec53:i386 libavformat53:i386 libpoppler28:i386 libpoppler-glib8:i386 libpostproc52:i386 libswscale2:i386 libxslt1.1:i386 wine1.5:i386 wine1.5-i386:i386 firefox-locale-ar:i386 firefox-locale-bn:i386 firefox-locale-ca:i386 firefox-locale-cs:i386 firefox-locale-de:i386 firefox-locale-el:i386 firefox-locale-en:i386 firefox-locale-es:i386 firefox-locale-fi:i386 firefox-locale-fr:i386 firefox-locale-hi:i386 firefox-locale-hu:i386 firefox-locale-it:i386 firefox-locale-ja:i386 firefox-locale-nl:i386 firefox-locale-pl:i386 firefox-locale-pt:i386 firefox-locale-ru:i386 firefox-locale-sv:i386 firefox-locale-zh-hans:i386 poppler-utils:i386 runescape:all
    root      8620  0.0  0.1   7184   540 pts/0    S+   14:35   0:00 /usr/bin/perl /var/lib/dpkg/info/linux-image-3.5.0-26-generic.postinst configure 
    lubuntu   9884  0.0  0.1   4644   800 pts/3    S+   16:33   0:00 egrep --color=auto dpkg|apt|cent|manager
    lubuntu@lubuntu:~$

  4. #14
    Join Date
    Mar 2013
    Beans
    57
    Distro
    Lubuntu

    Re: How do i change permissions for initramfs.conf

    Code:
    lubuntu@lubuntu:~$ sudo lsof /var/lib/dpkg/statuslsof: WARNING: can't stat() ext2 file system /cow
          Output information may be incomplete.
    lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/lubuntu/gvfs
          Output information may be incomplete.
    lubuntu@lubuntu:~$

  5. #15
    Join Date
    Mar 2013
    Beans
    57
    Distro
    Lubuntu

    Re: How do i change permissions for initramfs.conf

    when i installed Lubuntu i had issues with mounting my harddrive and had to input a code to create the folder for it to beable to mount idk if their is any other folders i might happen to be missing wich might be the cause of all my woes

  6. #16
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,625
    Distro
    Ubuntu Development Release

    Re: How do i change permissions for initramfs.conf

    Hi

    You have number of apt and dpkg instances running.

    From the terminal

    Code:
    sudo kill 34680 7852 7708 7184
    Code:
    sudo dpkg --purge --pending
    Code:
    sudo apt-get update
    Code:
    sudo apt-get upgrade
    Post back errors and results.

    Kind regards
    Join us on irc at #ubuntuforums. For web chat see here

    If you believe everything you read, you better not read. ~ Japanese Proverb

    Do not read newspapers on an empty stomach ~ Russian Proverb ~ BrunoLotse

  7. #17
    Join Date
    Mar 2013
    Beans
    57
    Distro
    Lubuntu

    Re: How do i change permissions for initramfs.conf

    k did what u said and i got this far before another error
    Code:
    lubuntu@lubuntu:~$ sudo kill 34680 7852 7708 7184 
    lubuntu@lubuntu:~$ sudo dpkg --purge --pending
    dpkg: error: dpkg status database is locked by another process
    lubuntu@lubuntu:~$

  8. #18
    Join Date
    Mar 2013
    Beans
    57
    Distro
    Lubuntu

    Re: How do i change permissions for initramfs.conf

    tried it as separate codes and still got
    Code:
    lubuntu@lubuntu:~$ sudo kill 34680 
    lubuntu@lubuntu:~$ sudo kill 7852
    lubuntu@lubuntu:~$ sudo kill 7708
    lubuntu@lubuntu:~$ sudo kill 7184
    lubuntu@lubuntu:~$ sudo dpkg --purge --pending
    dpkg: error: dpkg status database is locked by another process
    lubuntu@lubuntu:~$

  9. #19
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,625
    Distro
    Ubuntu Development Release

    Re: How do i change permissions for initramfs.conf

    Hi

    Sorry i was looking at the wrong column. Been a long day here.

    Try this

    Code:
    sudo kill 7786 7787 8619 8620
    Then run those other command again.

    Kind regards
    Join us on irc at #ubuntuforums. For web chat see here

    If you believe everything you read, you better not read. ~ Japanese Proverb

    Do not read newspapers on an empty stomach ~ Russian Proverb ~ BrunoLotse

  10. #20
    Join Date
    Mar 2013
    Beans
    57
    Distro
    Lubuntu

    Re: How do i change permissions for initramfs.conf

    k it came up clean this time
    Code:
    lubuntu@lubuntu:~$ sudo kill 7786 7787 8619 8620 
    lubuntu@lubuntu:~$ sudo dpkg --purge --pending 
    lubuntu@lubuntu:~$
    Last edited by Darkishjace; April 6th, 2013 at 12:16 AM.

Page 2 of 8 FirstFirst 1234 ... LastLast

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
  •