Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: any software installation problem

  1. #1
    Join Date
    Mar 2012
    Beans
    16

    any software installation problem

    i get this message when i try to install any software
    please help i am new to ubuntu

    khan@khan-GA-73VM-S2:~$ sudo apt-get install synaptic
    [sudo] password for khan:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following extra packages will be installed:
    libept1
    Suggested packages:
    dwww menu deborphan
    The following NEW packages will be installed:
    libept1 synaptic
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/2,284 kB of archives.
    After this operation, 7,549 kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Selecting previously deselected package libept1.
    (Reading database ... 30%dpkg: unrecoverable fatal error, aborting:
    files list file for package 'liboil0.3' is missing final newline
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    khan@khan-GA-73VM-S2:~$

  2. #2
    Join Date
    Oct 2011
    Location
    ZZ9 Plural Z Alpha
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: any software installation problem

    Hi, and welcome to Ubuntu and the forums!

    Please open a terminal and type the following commands

    Code:
    sudo rm -r /var/cache/apt/archives/*
    sudo apt-get update
    The try installing your software again.

  3. #3
    Join Date
    Mar 2012
    Beans
    16

    Re: any software installation problem

    Quote Originally Posted by cortman View Post
    Hi, and welcome to Ubuntu and the forums!

    Please open a terminal and type the following commands

    Code:
    sudo rm -r /var/cache/apt/archives/*
    sudo apt-get update
    The try installing your software again.
    thank you for your reply but i am stuck with the same error message again
    i dont know what to do ?
    please help

    khan@khan-GA-73VM-S2:~$ sudo rm -r /var/cache/apt/archives/*
    [sudo] password for khan:
    khan@khan-GA-73VM-S2:~$ sudo apt-get update
    Ign http://dl.google.com stable InRelease
    Ign http://extras.ubuntu.com oneiric InRelease
    Hit http://extras.ubuntu.com oneiric Release.gpg
    Ign http://in.archive.ubuntu.com oneiric InRelease

    .
    .
    .
    .
    .
    ..
    .
    .
    Ign http://dl.google.com stable/main Translation-en_US
    Ign http://dl.google.com stable/main Translation-en
    Fetched 2,823 B in 49710d 1h 1min 19s (0 B/s)
    Reading package lists... Done
    khan@khan-GA-73VM-S2:~$ sudo apt-get install synaptic
    sudo: timestamp too far in the future: Mar 21 01:27:53 2012
    [sudo] password for khan:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following extra packages will be installed:
    libept1
    Suggested packages:
    dwww menu deborphan
    The following NEW packages will be installed:
    libept1 synaptic
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 2,284 kB of archives.
    After this operation, 7,549 kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Get:1 http://in.archive.ubuntu.com/ubuntu/ oneiric/main libept1 i386 1.0.5build1 [134 kB]
    Get:2 http://in.archive.ubuntu.com/ubuntu/ oneiric/universe synaptic i386 0.75.2ubuntu8 [2,150 kB]
    Fetched 2,284 kB in 39s (58.3 kB/s)
    Selecting previously deselected package libept1.
    (Reading database ... 30%dpkg: unrecoverable fatal error, aborting:
    files list file for package 'liboil0.3' is missing final newline
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    khan@khan-GA-73VM-S2:~$

  4. #4
    Join Date
    Mar 2012
    Beans
    16

    Re: any software installation problem

    its just giving me a message

    Selecting previously deselected package libept1.
    (Reading database ... 30%dpkg: unrecoverable fatal error, aborting:
    files list file for package 'liboil0.3' is missing final newline
    E: Sub-process /usr/bin/dpkg returned an error code (2)

    for every application i try to install or uninstall i get the same message

  5. #5
    Join Date
    Oct 2011
    Location
    ZZ9 Plural Z Alpha
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: any software installation problem

    Run

    Code:
    sudo apt-get install -f
    And post the results.

  6. #6
    Join Date
    Mar 2012
    Beans
    16

    Re: any software installation problem

    this is the result:

    khan@khan-GA-73VM-S2:~$ sudo apt-get install -f
    [sudo] password for khan:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    khan@khan-GA-73VM-S2:~$

  7. #7
    Join Date
    Mar 2012
    Beans
    16

    Re: any software installation problem

    Quote Originally Posted by cortman View Post
    Run

    Code:
    sudo apt-get install -f
    And post the results.



    this is the result:

    khan@khan-GA-73VM-S2:~$ sudo apt-get install -f
    [sudo] password for khan:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    khan@khan-GA-73VM-S2:~$

  8. #8
    Join Date
    Mar 2012
    Beans
    16

    Re: any software installation problem

    Quote Originally Posted by heldurd View Post
    Please open a terminal and type the following commands

    i tried that and still the same message :


    Selecting previously deselected package libept1.
    (Reading database ... 30%dpkg: unrecoverable fatal error, aborting:
    files list file for package 'liboil0.3' is missing final newline
    E: Sub-process /usr/bin/dpkg returned an error code (2)

  9. #9
    Join Date
    Oct 2011
    Location
    ZZ9 Plural Z Alpha
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: any software installation problem

    Ok, in that case it looks like the script given in the first post of this thread fixed that problem for others. Copy the script code into a text file and save it as listfix.py. Then open a terminal and type

    Code:
    chmod +x listfix.py
    python listfix.py

  10. #10
    Join Date
    Nov 2010
    Location
    India
    Beans
    Hidden!

    Re: any software installation problem

    Code:
    sudo rm -rf /var/lib/apt/lists/*
    sudo apt-get update
    and try again
    Dont miss anything even it is small. one small pin is enough to bring down a man.


Page 1 of 3 123 LastLast

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
  •