LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Update manager stopped working , (https://www.linuxquestions.org/questions/linux-newbie-8/update-manager-stopped-working-911205/)

cpax 11-01-2011 03:36 AM

Update manager stopped working ,
 
I get malformed line 63 in source list /etc/apt/sources (dist parse)
This happened when I tried to download a game .

k3lt01 11-01-2011 03:53 AM

Can you post your sources list as it is so we can see if anything is wrong with it?
If this happened while you were trying to download a game can you explain the process you went through? Did you add a new repository? Is the game from Ubuntu or is it external?Have you tried rebooting and starting again? The more information you can give the more help we can be.

cpax 11-01-2011 12:34 PM

sources list
 
Hi! cpax@cpax-desktop:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb cdrom:[ub 10.10]/ maverick main restricted
deb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ maverick main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://gb.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ maverick-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://gb.archive.ubuntu.com/ubuntu/ maverick universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ maverick universe
deb http://gb.archive.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ maverick-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://gb.archive.ubuntu.com/ubuntu/ maverick multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ maverick multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ maverick-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://gb.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
# deb-src http://gb.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu maverick partner
# deb-src http://archive.canonical.com/ubuntu maverick partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu maverick main
# deb-src http://extras.ubuntu.com/ubuntu maverick main

deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse

deb http://archive.getdeb.net/ubuntu natty-getdebgames
deb-src http://archive.getdeb.net/ubuntu natty-getdebgames

cpax@cpax-desktop:~$
I think that I opened software centre/edit/software sources and added deb http://archive.getdeb.net/ubuntu natty-getdeb to the other software tab. Thanks

k3lt01 11-01-2011 01:19 PM

Quote:

Originally Posted by cpax (Post 4513391)
deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse

deb http://archive.getdeb.net/ubuntu natty-getdebgames
deb-src http://archive.getdeb.net/ubuntu natty-getdebgames

cpax@cpax-desktop:~$
I think that I opened software centre/edit/software sources and added deb http://archive.getdeb.net/ubuntu natty-getdeb to the other software tab. Thanks

Just from a quick count I think "Line 63" is the blank one, you will need to confirm this, it is only 5.20am here and I haven't slept much so check this yourself as well ok. If it is make sure it is actually empty meaning there are not some spaces used but blank. Also check the end of the previous line making sure there is no blank spaces after multiverse. Post back and tell us what you find.

cpax 11-02-2011 04:38 AM

Hi! I get 61 as deb-src http://extras.ubuntu.com/ubuntu maveric main
62 blank 63 blank and
64 as deb http: //security.ubuntu.com/ubuntu maverick-security main restricted
but after this my newbie status starts to show.

k3lt01 11-04-2011 11:58 PM

I don't see 2 empty lines in your post above this last one. Could you please place your sources.list as an attachment to this thread? You will need to copy and past it to a gedit file (name it soures.txt) and attach the file to the post, you may have to scroll down the screen to additional options > attach files > manage attachments and follow the information on the next screen. I'll then take a look at it on my computer and see if I can see anything. The other thing you could do is remove the new entries and update (not upgrade) your files. Then see how it goes, and if everything is alright reboot your machine and add the lines back to your sources.list remember to update (not upgrade) your files again and see if everything is ok.

EDIT: OK I have had a look at getdeb games and notice your sources.list has lines 64 and 65 (I done the gedit file myself lol) as

Code:

deb http://archive.getdeb.net/ubuntu natty-getdebgames
deb-src http://archive.getdeb.net/ubuntu natty-getdebgames

GetDeb, it used to be playdeb, says the line should look like this
Code:

deb http://archive.getdeb.net/ubuntu natty-getdeb games
deb-src http://archive.getdeb.net/ubuntu natty-getdeb games

I know this is the line after the one that apparently has the error but if we fix some obvious issues first we may actually fix the real problem.

cpax 11-05-2011 07:17 AM

sources list attatchment
 
1 Attachment(s)
Hope this is right.

k3lt01 11-05-2011 01:04 PM

Yep that was right.

Follow my suggestion in the EDIT of my previous post. I think your getdeb entries are incorrect and you are being told the error is from them. So where you have
Code:

deb http://archive.getdeb.net/ubuntu natty-getdebgames
deb-src http://archive.getdeb.net/ubuntu natty-getdebgames

change it to
Code:

deb http://archive.getdeb.net/ubuntu natty-getdeb games
deb-src http://archive.getdeb.net/ubuntu natty-getdeb games


cpax 11-07-2011 03:19 AM

Arrgh! attack of the newbies again,tried to delete/change in terminal .but cannot do I need priveledges to do this?

k3lt01 11-07-2011 03:28 AM

Open a terminal and type
Code:

sudo gedit /etc/apt/sources.list
and that will ask you for your password . Once you type in the password (you wont see anything come on screen while you are typing your password) it will open it so you can edit it in gedit.

The other way to do it is to open software sources and edit it in that by clicking on the lines and clicking edit. It will be obvious where to make the changes from there.

cpax 11-07-2011 09:40 AM

Thanks
 
Hi! That seems to have sorted it out ,rather than replace the game I just deleted the 2 lines.thanks again.

k3lt01 11-07-2011 11:41 AM

Glad it's all working now.


All times are GMT -5. The time now is 07:42 PM.