Results 1 to 8 of 8

Thread: Synaptic Package Manager fails to start

  1. #1
    Join Date
    Nov 2010
    Beans
    3

    Synaptic Package Manager fails to start

    Hi all
    I have Ubuntu 10.10 AMD64 installed.
    When I try to start the Synaptic Package Manager it attempts to start and then quits.
    I have tried running it through terminal and get the following output.

    roy@Bastard:~$ sudo synaptic
    sudo: /etc/sudoers is mode 0640, should be 0440
    sudo: no valid sudoers sources found, quitting

    I get the same output for sudo apt-get update & sudo apt-get upgrade

    I have looked at some of the threads on this problem but none seem to provide a solution.

    Thanks in advance

    Roy

  2. #2
    Join Date
    Nov 2004
    Beans
    560
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Synaptic Package Manager fails to start

    try:
    Code:
    $ sudo chmod 0440 /etc/sudoers
    and never ever edit this file with anything but
    Code:
    $ sudo visudo

  3. #3
    Join Date
    Nov 2004
    Beans
    560
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Synaptic Package Manager fails to start

    oh, you probably will not be able to do that, as sudo will probably fail...

    you will have to boot with a live cd, mount your root directory and chmod the file from there.

  4. #4
    Join Date
    Nov 2010
    Beans
    3

    Re: Synaptic Package Manager fails to start

    Many thanks for the help,
    However I am an Ubuntu newb.
    I can boot up of the live cd and mount the file system disk, but I am not familiar enough with terminal commands to change to that disk and run the operation.
    If its not too much trouble I would really appreciate a walkthrough.

    Sorry to be a pain

    Cheers

    Roy

  5. #5
    Join Date
    Nov 2004
    Beans
    560
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Synaptic Package Manager fails to start

    ok, then you are almost there.

    1. boot with a live cd (or usb stick )
    2. mount /
    Code:
    $ sudo mount -t ext4 /dev/sd.. /mnt
    (you found your root system already, so there is probably no confusion here, right? i mounted it on /mnt, but you are of course free to mount it whereever you want)
    3. start a shell and enter
    Code:
    sudo chmod 0440 /mnt/etc/sudoers
    again, you may have to edit the mountpoint (/mnt) addording to your needs here.

    good luck & hope that works...

  6. #6
    Join Date
    Nov 2004
    Beans
    560
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Synaptic Package Manager fails to start

    oh, then:
    4. reboot into your real system and try
    Code:
    $ sudo -s
    this should give you a root shell...

  7. #7
    Join Date
    Nov 2010
    Beans
    3

    Re: Synaptic Package Manager fails to start

    Many Many Thanks.

    Job Done

    Roy

  8. #8
    Join Date
    Nov 2004
    Beans
    560
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Synaptic Package Manager fails to start

    you're very welcome!

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
  •