Results 1 to 5 of 5

Thread: [SOLVED] Problem with updating and installing

Threaded View

  1. #1
    Join Date
    Oct 2008
    Beans
    4
    Distro
    Ubuntu 9.10 Karmic Koala

    [SOLVED] Problem with updating and installing

    Hi, I have a problem with updating and installing new packages.
    I searched the forum, and saw few threads with similar problem, but all of them were different then this.
    This Problem with all the packages. I tried to use things from other posts, but it didn't help.

    When I try to update using "Update Manager"
    I got this:



    Then I tried to fix it from the shell(with things from other posts), and update from there:
    Code:
    intlex@home:~$ sudo apt-get autoclean 
    [sudo] password for intlex: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    intlex@home:~$ 
    intlex@home:~$ 
    intlex@home:~$ sudo dpkg --configure -a
    intlex@home:~$ 
    intlex@home:~$ 
    intlex@home:~$ sudo apt-get install -f
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.
    intlex@home:~$
    intlex@home:~$  
    intlex@home:~$ sudo apt-get update
    Hit http://archive.canonical.com hardy Release.gpg
    Ign http://archive.canonical.com hardy/partner Translation-en_US
    Hit http://packages.medibuntu.org hardy Release.gpg
    Hit http://archive.ubuntu.com hardy Release.gpg
    Ign http://archive.ubuntu.com hardy/main Translation-en_US                     
    Hit http://archive.canonical.com hardy Release                                 
    Ign http://archive.ubuntu.com hardy/restricted Translation-en_US               
    Ign http://archive.ubuntu.com hardy/universe Translation-en_US                 
    Ign http://archive.ubuntu.com hardy/multiverse Translation-en_US
    Hit http://archive.ubuntu.com hardy-updates Release.gpg
    Ign http://archive.ubuntu.com hardy-updates/main Translation-en_US
    Ign http://archive.ubuntu.com hardy-updates/restricted Translation-en_US
    Ign http://archive.ubuntu.com hardy-updates/universe Translation-en_US
    Ign http://archive.ubuntu.com hardy-updates/multiverse Translation-en_US
    Hit http://archive.ubuntu.com hardy-security Release.gpg
    Hit http://archive.canonical.com hardy/partner Packages              
    Ign http://packages.medibuntu.org hardy/free Translation-en_US       
    Ign http://archive.ubuntu.com hardy-security/main Translation-en_US
    Ign http://archive.ubuntu.com hardy-security/restricted Translation-en_US
    Ign http://archive.ubuntu.com hardy-security/universe Translation-en_US        
    Ign http://archive.ubuntu.com hardy-security/multiverse Translation-en_US      
    Hit http://archive.ubuntu.com hardy-backports Release.gpg                      
    Ign http://archive.ubuntu.com hardy-backports/restricted Translation-en_US     
    Hit http://archive.canonical.com hardy/partner Sources                         
    Ign http://archive.ubuntu.com hardy-backports/main Translation-en_US           
    Ign http://archive.ubuntu.com hardy-backports/multiverse Translation-en_US     
    Ign http://archive.ubuntu.com hardy-backports/universe Translation-en_US
    Hit http://archive.ubuntu.com hardy Release
    Hit http://archive.ubuntu.com hardy-updates Release
    Ign http://packages.medibuntu.org hardy/non-free Translation-en_US  
    Hit http://archive.ubuntu.com hardy-security Release
    Hit http://archive.ubuntu.com hardy-backports Release                          
    Hit http://archive.ubuntu.com hardy/main Packages                              
    Hit http://archive.ubuntu.com hardy/restricted Packages                        
    Hit http://archive.ubuntu.com hardy/main Sources
    Hit http://archive.ubuntu.com hardy/restricted Sources
    Hit http://archive.ubuntu.com hardy/universe Packages
    Hit http://archive.ubuntu.com hardy/universe Sources
    Hit http://archive.ubuntu.com hardy/multiverse Packages
    Hit http://archive.ubuntu.com hardy/multiverse Sources
    Hit http://archive.ubuntu.com hardy-updates/main Packages
    Hit http://packages.medibuntu.org hardy Release
    Hit http://archive.ubuntu.com hardy-updates/restricted Packages
    Hit http://archive.ubuntu.com hardy-updates/main Sources                       
    Hit http://archive.ubuntu.com hardy-updates/restricted Sources                 
    Hit http://archive.ubuntu.com hardy-updates/universe Packages                  
    Hit http://archive.ubuntu.com hardy-updates/universe Sources                   
    Hit http://archive.ubuntu.com hardy-updates/multiverse Packages                
    Hit http://archive.ubuntu.com hardy-updates/multiverse Sources                 
    Hit http://archive.ubuntu.com hardy-security/main Packages                     
    Hit http://archive.ubuntu.com hardy-security/restricted Packages               
    Hit http://archive.ubuntu.com hardy-security/main Sources                      
    Hit http://archive.ubuntu.com hardy-security/restricted Sources
    Hit http://archive.ubuntu.com hardy-security/universe Packages
    Hit http://archive.ubuntu.com hardy-security/universe Sources
    Hit http://archive.ubuntu.com hardy-security/multiverse Packages
    Hit http://archive.ubuntu.com hardy-security/multiverse Sources
    Hit http://archive.ubuntu.com hardy-backports/restricted Packages
    Hit http://archive.ubuntu.com hardy-backports/main Packages
    Hit http://archive.ubuntu.com hardy-backports/multiverse Packages
    Hit http://packages.medibuntu.org hardy/free Packages
    Hit http://archive.ubuntu.com hardy-backports/universe Packages
    Hit http://packages.medibuntu.org hardy/non-free Packages
    Reading package lists... Done                            
    intlex@home:~$ 
    intlex@home:~$ 
    intlex@home:~$ 
    intlex@home:~$ sudo apt-get upgrade 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages have been kept back:
      bind9-host dnsutils libbind9-30 libdns35 libisccc30 libisccfg30
    The following packages will be upgraded:
      cpp-4.2 g++-4.2 gcc-4.2 gcc-4.2-base gstreamer0.10-tools libexif12 libffi4
      libgcc1 libglib2.0-0 libgomp1 libgstreamer0.10-0 liblwres30 libstdc++6
      libstdc++6-4.2-dev pciutils tzdata tzdata-java
    17 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
    Need to get 0B/10.0MB of archives.
    After this operation, 8192B disk space will be freed.
    Do you want to continue [Y/n]? Y
    Preconfiguring packages ...
    dpkg-deb: subprocess tar killed by signal (Segmentation fault)
    dpkg: error processing /var/cache/apt/archives/libstdc++6-4.2-dev_4.2.4-1ubuntu3_i386.deb (--unpack):
     subprocess dpkg-deb --control returned error exit status 2
    dpkg-deb: subprocess tar killed by signal (Segmentation fault)
    dpkg: error processing /var/cache/apt/archives/g++-4.2_4.2.4-1ubuntu3_i386.deb (--unpack):
     subprocess dpkg-deb --control returned error exit status 2
    dpkg-deb: subprocess tar killed by signal (Segmentation fault)
    dpkg: error processing /var/cache/apt/archives/gcc-4.2_4.2.4-1ubuntu3_i386.deb (--unpack):
     subprocess dpkg-deb --control returned error exit status 2
    dpkg-deb: subprocess tar killed by signal (Segmentation fault)
    dpkg: error processing /var/cache/apt/archives/cpp-4.2_4.2.4-1ubuntu3_i386.deb (--unpack):
     subprocess dpkg-deb --control returned error exit status 2
    dpkg-deb: subprocess tar killed by signal (Segmentation fault)
    dpkg: error processing /var/cache/apt/archives/gcc-4.2-base_4.2.4-1ubuntu3_i386.deb (--unpack):
     subprocess dpkg-deb --control returned error exit status 2
    Errors were encountered while processing:
     /var/cache/apt/archives/libstdc++6-4.2-dev_4.2.4-1ubuntu3_i386.deb
     /var/cache/apt/archives/g++-4.2_4.2.4-1ubuntu3_i386.deb
     /var/cache/apt/archives/gcc-4.2_4.2.4-1ubuntu3_i386.deb
     /var/cache/apt/archives/cpp-4.2_4.2.4-1ubuntu3_i386.deb
     /var/cache/apt/archives/gcc-4.2-base_4.2.4-1ubuntu3_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    intlex@home:~$ 
    intlex@home:~$ 
    In the error message I saw the words "--unpack" and "tar", so I thought may be a problem in tar.
    And when I tried to extract regular .tar.gz file i saw same error : Segmentation fault
    Code:
    intlex@home:~/Desktop$ tar -xf GNS3-0.5-src.tar.gz 
    Segmentation fault
    Can someone help me to solve it, please ?
    P.S. Sorry for my English.
    Last edited by Intlex; October 26th, 2008 at 07:57 PM.

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
  •