problem with installation

Asked by Tarmo Velmet

Ubuntu 10.04, while installing Skype happens error and suggestion is to repair it with Synaptic, what gives error message:

E: Type 'echo' is not known on line 1 in source list /etc/apt/sources.list.d/ria-repository.list

E: _cache->open() failed, please report.

Thank you
Tarmo Velmet

Question information

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

Can you give the output of:

gedit /etc/apt/sources.list.d/ria-repository.list

Thanks

Revision history for this message
Tarmo Velmet (tarmo-velmet) said :
#2

echo deb https://installer.id.ee/media/ubuntu/lucid main
sudo dd of=/etc/apt/sources.list.d/
ria-repository.list.save
sudo apt-get update
sudo apt-get install estonianidcard

2010/12/31 actionparsnip <email address hidden>

> Your question #139748 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/139748
>
> Status: Open => Needs information
>
> actionparsnip requested for more information:
> Can you give the output of:
>
> gedit /etc/apt/sources.list.d/ria-repository.list
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/139748
>
> You received this question notification because you are a direct
> subscriber of the question.
>

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

You added the install instructions to the file, this is incorrect. run:
gksudo gedit /etc/apt/sources.list

add this line to the bottom of the file:
deb https://installer.id.ee/media/ubuntu/lucid main

Then save the new file and close gedit, then run:
sudo rm /etc/apt/sources.list.d/ria-repository.list; sudo apt-get update

Should be ok

Revision history for this message
Tarmo Velmet (tarmo-velmet) said :
#4

I checked it twice, the answer is:
E: Malformed line 54 in source list /etc/apt/sources.list (dist parse)

Regardes
Tarmo Velmet

2010/12/31 actionparsnip <email address hidden>

> Your question #139748 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/139748
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> You added the install instructions to the file, this is incorrect. run:
> gksudo gedit /etc/apt/sources.list
>
> add this line to the bottom of the file:
> deb https://installer.id.ee/media/ubuntu/lucid main
>
> Then save the new file and close gedit, then run:
> sudo rm /etc/apt/sources.list.d/ria-repository.list; sudo apt-get update
>
> Should be ok
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/139748/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/139748
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

First please use a browser to manage your question, please don't reply using mail...

Please use a terminal from Applications→Accessories→Terminal and type:

gedit /etc/apt/sources.list

Then copy and paste the file content here...

Revision history for this message
Tarmo Velmet (tarmo-velmet) said :
#6

Happy New Year!

# deb cdrom:[Ubuntu 10.04.1 LTS _Lucid Lynx_ - Release i386 (20100816.1)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://ee.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://ee.archive.ubuntu.com/ubuntu/ lucid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ee.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://ee.archive.ubuntu.com/ubuntu/ lucid-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://ee.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://ee.archive.ubuntu.com/ubuntu/ lucid universe
deb http://ee.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://ee.archive.ubuntu.com/ubuntu/ lucid-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://ee.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://ee.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://ee.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://ee.archive.ubuntu.com/ubuntu/ lucid-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://ee.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://ee.archive.ubuntu.com/ubuntu/ lucid-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 lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
deb https://installer.id.ee/media/ubuntu/lucid main

Regards
Tarmo Velmet

Revision history for this message
Theodotos Andreou (theodotos) said :
#7

What is the last line doing? Try to comment it out and try again:

  deb https://installer.id.ee/media/ubuntu/lucid main --> #deb https://installer.id.ee/media/ubuntu/lucid main

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#8

Please use a terminal from Applications→Accessories→Terminal and type:

gksudo gedit /etc/apt/sources.list

Go to the end of file and modify the latest row (or delete it)

deb https://installer.id.ee/media/ubuntu/lucid main

to

# deb https://installer.id.ee/media/ubuntu/lucid main

Save and exit, then retry.

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

Or you can change it to:

deb https://installer.id.ee/media/ubuntu/dists/lucid main

If I am reading this link right:
https://installer.id.ee/media/ubuntu/dists/lucid/

Revision history for this message
Tarmo Velmet (tarmo-velmet) said :
#10

Thanks actionparsnip, that solved my question.