Results 1 to 3 of 3

Thread: problems with dpkg, apt-get, sources-list

Hybrid View

  1. #1
    Just burned their ISO
    Join Date
    Oct 2012
    Posts
    12

    Default problems with dpkg, apt-get, sources-list

    Hi,

    I'm encountering several things with dkpg, apt and the sources list. I'm running BT5 R3 on a dedicated laptop and hdd. See below for what I encounter:

    1. Some source libraries don't load and update.
    Code:
    root@bt:~# apt-get update
    
    snip....
    
    W: Failed to fetch http://updates.repository.backtrack-linux.org/dists/revolution/Release  Unable to find expected entry 'main/source/Sources' in Release file (Wrong sources.list entry or malformed file)
    
    W: Failed to fetch http://64.repository.backtrack-linux.org/dists/revolution/Release  Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
    
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    2. Errors with apt-get upgrade. Probably because of the problems with the sources libraries.

    Code:
    root@bt:~# apt-get upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue [Y/n]? 
    dpkg: warning: parsing file '/var/lib/dpkg/status' near line 7553 package 'magictree':
     error in Version string 'r1643-bt0': version number does not start with digit
    dpkg: warning: parsing file '/var/lib/dpkg/status' near line 20998 package 'udptunnel':
     error in Version string 'r19-bt0': version number does not start with digit
    dpkg: warning: parsing file '/var/lib/dpkg/status' near line 26646 package 'untidy':
     error in Version string 'beta2-bt1': version number does not start with digit
    dpkg: warning: parsing file '/var/lib/dpkg/status' near line 30113 package 'pwntcha':
     error in Version string 'rev4780-bt3': version number does not start with digit
    dpkg: warning: parsing file '/var/lib/dpkg/status' near line 35565 package 'android-sdk':
     error in Version string 'r20.0.1-bt0': version number does not start with digit
    dpkg: warning: parsing file '/var/lib/dpkg/status' near line 49775 package 'webslayer':
     error in Version string 'rev5-bt0': version number does not start with digit
    dpkg: warning: parsing file '/var/lib/dpkg/status' near line 55248 package 'wifite':
     error in Version string 'r85-bt1': version number does not start with digit
    dpkg: warning: parsing file '/var/lib/dpkg/status' near line 55786 package 'protos-sip':
     error in Version string 'r2-bt1': version number does not start with digit
    Setting up ruby1.8 (1.8.7.352-2ubuntu1.1) ...
    update-alternatives: error: alternative rdoc can't be slave of ruby: it is a master alternative.
    dpkg: error processing ruby1.8 (--configure):
     subprocess installed post-installation script returned error exit status 2
    Errors were encountered while processing:
     ruby1.8
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    I have been trying several things, but can find something to repair this. So any help is appreciated.

  2. #2
    Administrator sickness's Avatar
    Join Date
    Jan 2010
    Location
    Behind the screen.
    Posts
    2,921

    Default Re: problems with dpkg, apt-get, sources-list

    From the first error I can tell that you have altered your source.list.
    Back|track giving machine guns to monkeys since 2007 !

    Do not read the Wiki, most your questions will not be answered there !
    Do not take a look at the: Forum Rules !

  3. #3
    Just burned their ISO
    Join Date
    Oct 2012
    Posts
    12

    Default Re: problems with dpkg, apt-get, sources-list

    OK. I get it. I ****ed the BT distro up by accepting the upgrade to Precise Pangolin. Stupid, not seeing that. I'll reinstall everything and sorry for wasting your time.
    Last edited by Swiftme; 10-16-2012 at 12:16 PM.

Similar Threads

  1. fresh new installation of BT5R2 / sources.list empty ?
    By dschinn in forum BackTrack 5 Beginners Section
    Replies: 0
    Last Post: 04-30-2012, 05:29 AM
  2. Does anyone have a BT5 r1 Custom sources.list?
    By flipjarg in forum BackTrack 5 General Topics
    Replies: 1
    Last Post: 02-19-2012, 08:05 AM
  3. Missing correct repositories in /etc/apt/sources.list?
    By konica in forum BackTrack 5 Beginners Section
    Replies: 3
    Last Post: 08-26-2011, 08:54 AM
  4. deb-src for sources.list
    By rbellamy in forum Beginners Forum
    Replies: 0
    Last Post: 10-23-2010, 02:43 PM
  5. deb-src for sources.list
    By rbellamy in forum Beginners Forum
    Replies: 0
    Last Post: 10-22-2010, 06:51 PM

Posting Permissions

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