ouput for terminal

Asked by BdayIceCream86

dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ ubuntu-support-status
Traceback (most recent call last):
  File "/usr/bin/ubuntu-support-status", line 120, in <module>
    with apt.Cache() as cache:
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 105, in __init__
    self.open(progress)
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 154, in open
    self._list.read_main_list()
SystemError: E:Malformed line 1 in source list /etc/apt/sources.list.d/google.list (dist parse)
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ dpkg --print-foreign-architectures
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for dsw:
Sorry, try again.
[sudo] password for dsw:
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ grep proxy /etc/environment
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ echo $http_proxy

dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ echo $ftp_proxygrep proxy /etc/bash.bashrcproxy /etc/bash.bashrc
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ grep proxy ~/.bashrc
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ sudo fuser -vvv /var/lib/dpkg/lock
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ sudo fuser -vvv /var/cache/apt/archives/lock
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=13.10
DISTRIB_CODENAME=saucy
DISTRIB_DESCRIPTION="Ubuntu 13.10"
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ uname -a
Linux dsw-EX325AA-ABA-SR1950NX-NA670 3.11.0-17-generic #31-Ubuntu SMP Mon Feb 3 21:53:31 UTC 2014 i686 athlon i686 GNU/Linux
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ sudo rm /var/lib/apt/lists/lock
rm: cannot remove ‘/var/lib/apt/lists/lock’: No such file or directory
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ sudo rm /var/cache/apt/archives/lock
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ sudo rm /var/lib/dpkg/lock
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ sudo rm -rf /var/lib/dpkg/updates/*
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ sudo rm -rf /var/lib/apt/lists
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ sudo rm /var/cache/apt/*.bin
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ sudo mkdir /var/lib/apt/lists
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ sudo mkdir /var/lib/apt/lists/partial
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ LANG=C;sudo apt-get clean
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Error!
E: Malformed line 1 in source list /etc/apt/sources.list.d/google.list (dist parse)
E: The list of sources could not be read.
E: The package lists or status file could not be parsed or opened.
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
E: Malformed line 1 in source list /etc/apt/sources.list.d/google.list (dist parse)
E: The list of sources could not be read.
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ sudo dpkg --configure -a
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ sudo dpkg --clear-avail
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
E: Malformed line 1 in source list /etc/apt/sources.list.d/google.list (dist parse)
E: The list of sources could not be read.
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list.d/webupd8team-y-ppa-manager-saucy.list

     1 deb http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu saucy main
     2 deb-src http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu saucy main
     3 # deb-src http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu saucy main

/etc/apt/sources.list.d/google.list

     1 deb http:dl.google.com/linux/chrome/deb/stable main

/etc/apt/sources.list

     1 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     2
     3 # newer versions of the distribution.
     4 deb http://us.archive.ubuntu.com/ubuntu/ saucy main restricted
     5 deb-src http://us.archive.ubuntu.com/ubuntu/ saucy multiverse universe main restricted #Added by software-properties
     6
     7 ## Major bug fix updates produced after the final release of the
     8 ## distribution.
     9 deb http://us.archive.ubuntu.com/ubuntu/ saucy-updates main restricted
    10 deb-src http://us.archive.ubuntu.com/ubuntu/ saucy-updates multiverse universe main restricted #Added by software-properties
    11
    12 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    13 ## team. Also, please note that software in universe WILL NOT receive any
    14 ## review or updates from the Ubuntu security team.
    15 deb http://us.archive.ubuntu.com/ubuntu/ saucy universe
    16 deb http://us.archive.ubuntu.com/ubuntu/ saucy-updates universe
    17
    18 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    19 ## team, and may not be under a free licence. Please satisfy yourself as to
    20 ## your rights to use the software. Also, please note that software in
    21 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    22 ## security team.
    23 deb http://us.archive.ubuntu.com/ubuntu/ saucy multiverse
    24 deb http://us.archive.ubuntu.com/ubuntu/ saucy-updates multiverse
    25
    26 ## N.B. software from this repository may not have been tested as
    27 ## extensively as that contained in the main release, although it includes
    28 ## newer versions of some applications which may provide useful features.
    29 ## Also, please note that software in backports WILL NOT receive any review
    30 ## or updates from the Ubuntu security team.
    31 deb http://us.archive.ubuntu.com/ubuntu/ saucy-backports main universe multiverse restricted
    32 deb-src http://us.archive.ubuntu.com/ubuntu/ saucy-backports main universe multiverse restricted #Added by software-properties
    33
    34 deb http://security.ubuntu.com/ubuntu saucy-security main restricted
    35 deb-src http://security.ubuntu.com/ubuntu saucy-security multiverse universe main restricted #Added by software-properties
    36 deb http://security.ubuntu.com/ubuntu saucy-security universe
    37 deb http://security.ubuntu.com/ubuntu saucy-security multiverse
    38
    39 ## Uncomment the following two lines to add software from Canonical's
    40 ## 'partner' repository.
    41 ## This software is not part of Ubuntu, but is offered by Canonical and the
    42 ## respective vendors as a service to Ubuntu users.
    43 deb http://archive.canonical.com/ubuntu saucy partner
    44 deb-src http://archive.canonical.com/ubuntu saucy partner
    45
    46 ## This software is not part of Ubuntu, but is offered by third-party
    47 ## developers who want to ship their latest software.
    48 deb http://extras.ubuntu.com/ubuntu saucy main
    49 deb-src http://extras.ubuntu.com/ubuntu saucy main
    50 deb http://us.archive.ubuntu.com/ubuntu/ saucy-proposed main universe multiverse restricted
dsw@dsw-EX325AA-ABA-SR1950NX-NA670:~$
This is the output after running the command prompts as instructed. If anyone could help I be extremely grateful.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

gksudo gedit etc/apt/sources.list.d/google.list

Change:
deb http:dl.google.com/linux/chrome/deb/stable main

To:
deb http:dl.google.com/linux/chrome/deb/ stable main

Save the new file, close gedit and run:
sudo apt-get update

Is it now smooth?

Revision history for this message
Hamish McIntyre-Bhatty (hamishmb) said :
#2

Sure I'll help, but you need to tell us the issue you're having first, as I don't entirely understand what's wrong here. At a guess, open /etc/apt/sources.list.d/google.list with admin rights (ie, 'sudo nano /etc/sources.list.d/google.list'), and change the first line from

deb http:dl.google.com/linux/chrome/deb/stable main

to

deb http://dl.google.com/linux/chrome/deb/stable main

that may be your issue.

Hamish

Revision history for this message
BdayIceCream86 (dwillian500) said :
#3

Thank you kindly. What the problem was originally was a non functional Package Manager and Software Center, both of which were working right after installing ubuntu and then stopped opening shortly thereafter. This suggestion seems to have pointed me in the right direction however after inputting the admin rights command 'sudo nano /etc/sources.list.d/google.list' prompts there is no visible text to be edited. Stumped. I'll to try this again a few more times. I appreciate the help. I'll try to ask more refined questions in the future. Thanks a lot.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

If you use sudo you do not get feedback as you type. If you use my advice you will get a pretty UI and have no problem

Revision history for this message
Hamish McIntyre-Bhatty (hamishmb) said :
#5

Actually, try combining our answers to change the line to

deb http://dl.google.com/linux/chrome/deb/ stable main

Which is the full correct synatax. Indeed you could use gedit instead
with gksudo

Try looking for the line in /etc/apt/sources.list instead then, maybe
it's there.

Hamish

On 27/03/14 07:31, actionparsnip wrote:
> Question #246050 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/246050
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> If you use sudo you do not get feedback as you type. If you use my
> advice you will get a pretty UI and have no problem
>

Can you help with this problem?

Provide an answer of your own, or ask BdayIceCream86 for more information if necessary.

To post a message you must log in.