Error: Synaptic Package Manager

Asked by hajiboy

Hi,

I am completely new to Linux and just downloaded Ubuntu for the first time yesterday as I got sick of Vista. I was trying to add the Medibuntu repository so that I can watch DVDs and can't remember what I did but now I can't access my Synaptic Package Manager. Every time I try and access Synaptic I get the following error message:

E: Type ‘--15:41:50--’ is not known on line 1 in source list /etc/apt/sources.list.d/medibuntu.list
E: The list of sources could not be read.
Go to the repository dialogue to correct the problem.
E: _cache->open() failed, please report.

I don't know what a 'repository dialogue' is and don't have the slightest clue as to what I should do in order to resolve this issue. I would really appreciate it if someone could walk me through a solution to this problem.

Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tony Mugan (tmugan) said :
#1

the file that contains all of this stuff can be edited directly using

sudo gedit /etc/apt/sources.list

Where medibuntu is mentioned put a # at the start of the line to comment it out.
The run Synaptic again and see if the error has been resolved.

Revision history for this message
hajiboy (anwar-haseeb) said :
#2

Thanks for your quick response Tony!

I used sudo gedit /etc/apt/sources.list and went to my sources list but I cannot see the word medibuntu anywhere on the page. Do you have other suggestion as to what I can do?

Revision history for this message
Tony Mugan (tmugan) said :
#3

Ok, can you post the contents here?

cat /etc/apt/sources.list

Revision history for this message
hajiboy (anwar-haseeb) said :
#4

This is what I got when I typed in cat /etc/apt/sources.list

# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://gb.archive.ubuntu.com/ubuntu/ hardy restricted main
deb-src http://gb.archive.ubuntu.com/ubuntu/ hardy restricted multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://gb.archive.ubuntu.com/ubuntu/ hardy-updates restricted main
deb-src http://gb.archive.ubuntu.com/ubuntu/ hardy-updates restricted multiverse universe #Added by software-properties

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://gb.archive.ubuntu.com/ubuntu/ hardy universe
deb http://gb.archive.ubuntu.com/ubuntu/ hardy-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/ hardy multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ hardy-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/ hardy-backports main restricted universe multiverse
# deb-src http://gb.archive.ubuntu.com/ubuntu/ hardy-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 hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://security.ubuntu.com/ubuntu hardy-security restricted main
deb-src http://security.ubuntu.com/ubuntu hardy-security restricted multiverse universe #Added by software-properties
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse

Revision history for this message
Tony Mugan (tmugan) said :
#5

Ok, you could remove the file with

sudo rm /etc/apt/sources.list.d/medibuntu.list

Or if you want to view and possibly edit the file first, try

sudo gedit /etc/apt/sources.list.d/medibuntu.list

Revision history for this message
hajiboy (anwar-haseeb) said :
#6

I just tried the second option you suggested (to view and edit the file)...this is what I got. Can you please tell me what this means? Should I try my Synaptic Package Manager now to see if it works?

--15:41:50-- http://www.medibuntu.org/sources.list.d/hardy.list
           => `hardy.list'
Resolving www.medibuntu.org... 87.98.242.10
Connecting to www.medibuntu.org|87.98.242.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 226 [text/plain]

    0K 100% 16.59 MB/s

15:41:50 (16.59 MB/s) - `hardy.list' saved [226/226]

Revision history for this message
Tony Mugan (tmugan) said :
#7

The main line that this file /etc/apt/sources.list.d/medibuntu.list needs is

deb http://packages.medibuntu.org/ hardy free non-free

You could edit it and add that line or alternatively just delete it and try the steps to add it all over again.

Revision history for this message
Tony Mugan (tmugan) said :
#8

From the instructions here
https://help.ubuntu.com/community/Medibuntu#head-7486ed038a9becc1dff10a24cc07a38a00d70e9f

I would suggest removing the existing Medibuntu file and then run the following two lines

sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

Revision history for this message
hajiboy (anwar-haseeb) said :
#9

Would you suggest that I remove it or edit it? I will completely trust your judgment as I don't have the slightest clue as to which option is better. All I want is to watch DVDs on Ubuntu. Step-by-step instructions on the removal or editing process would be greatly appreciated as I am a complete novice. It would be great if you could tell me where I should input the line that you suggested above...in the terminal or somewhere else? Furthermore, after making the edit or deletion, what do I need to write or add to be able to watch movies on my PC? Sorry for the utter ignorance!

Thanks!!

Revision history for this message
Tony Mugan (tmugan) said :
#10

I would open a terminal window and run the following commands

sudo rm /etc/apt/sources.list.d/medibuntu.list

sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list

sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

Revision history for this message
hajiboy (anwar-haseeb) said :
#11

After each line should I press 'Enter" or should I enter all the lines at the same time and then press enter?

Revision history for this message
Tony Mugan (tmugan) said :
#12

Press enter after each line in a terminal window (Applications menu, Accessories)

The make sure you have the Totem "Movie Player" (which appears under the Applications menu, Sound & Video)

sudo apt-get install totem

Revision history for this message
hajiboy (anwar-haseeb) said :
#13

Thanks Tony...my Synaptic Package Manager now works fine! I have just performed the 3 steps that you suggested and everything seems to have gone fine. I also made sure that I have the Totem player. But when I try and play a DVD on Totem it doesn't work. Do I have to now add 'libdvdcss2' and 'w32codecs'?

So sorry for the barrage of questions!

Revision history for this message
Tony Mugan (tmugan) said :
#14
Revision history for this message
dfmalh (danie-sun) said :
#15

I just spend an hour typing out my problem just for my browser to crash :-#

So I will try to explain my problem in short.

[U]First some background[/U]:
- this is a fresh install of Ubuntu, with all the updates and upgrades done.
- I am behind a firewall and need a proxy to use the internet (the proxy settings are correct and works, and I can even get to the medibuntu website to get the medibuntu.list file info)
- my general repositories are downloaded from my university's mirror (no proxy nesesary)

[U]Now my problem[/U]:

I can't connect to the Medibuntu repositories...

Input terminal:
[QUOTE]sudo wget [url]http://www.medibuntu.org/sources.list.d/hardy.list[/url] -O /etc/apt/sources.list.d/medibuntu.list[/QUOTE]

Output terminal:
[QUOTE]--18:50:56-- [url]http://www.medibuntu.org/sources.list.d/hardy.list[/url]
           => `/etc/apt/sources.list.d/medibuntu.list'
Resolving [url]www.medibuntu.org[/url]... 87.98.242.10
Connecting to [url]www.medibuntu.org|87.98.242.10|:80[/url]...
[/QUOTE]

This creates the medibuntu.list file, but it is empty...

If I get the relevant info for this file form: [url]http://www.medibuntu.org/sources.list.d/hardy.list[/url]

and inserted it into the medibuntu.list file and run:

Input terminal:
[QUOTE]sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
[/QUOTE]

This is what I get:

Output terminal:
[QUOTE]Hit [url]ftp://ftp.sun.ac.za[/url] hardy Release.gpg
Get:1 [url]ftp://ftp.sun.ac.za[/url] hardy/main Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy/main Translation-en_ZA
Get:2 [url]ftp://ftp.sun.ac.za[/url] hardy/restricted Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy/restricted Translation-en_ZA
Get:3 [url]ftp://ftp.sun.ac.za[/url] hardy/universe Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy/universe Translation-en_ZA
Get:4 [url]ftp://ftp.sun.ac.za[/url] hardy/multiverse Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy/multiverse Translation-en_ZA
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-updates Release.gpg
Get:5 [url]ftp://ftp.sun.ac.za[/url] hardy-updates/main Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-updates/main Translation-en_ZA
Get:6 [url]ftp://ftp.sun.ac.za[/url] hardy-updates/restricted Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-updates/restricted Translation-en_ZA
Get:7 [url]ftp://ftp.sun.ac.za[/url] hardy-updates/universe Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-updates/universe Translation-en_ZA
Get:8 [url]ftp://ftp.sun.ac.za[/url] hardy-updates/multiverse Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-updates/multiverse Translation-en_ZA
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-security Release.gpg
Get:9 [url]ftp://ftp.sun.ac.za[/url] hardy-security/main Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-security/main Translation-en_ZA
Get:10 [url]ftp://ftp.sun.ac.za[/url] hardy-security/restricted Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-security/restricted Translation-en_ZA
Get:11 [url]ftp://ftp.sun.ac.za[/url] hardy-security/universe Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-security/universe Translation-en_ZA
Get:12 [url]ftp://ftp.sun.ac.za[/url] hardy-security/multiverse Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-security/multiverse Translation-en_ZA
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-proposed Release.gpg
Get:13 [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/main Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/main Translation-en_ZA
Get:14 [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/restricted Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/restricted Translation-en_ZA
Get:15 [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/universe Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/universe Translation-en_ZA
Get:16 [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/multiverse Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/multiverse Translation-en_ZA
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-backports Release.gpg
Get:17 [url]ftp://ftp.sun.ac.za[/url] hardy-backports/main Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-backports/main Translation-en_ZA
Get:18 [url]ftp://ftp.sun.ac.za[/url] hardy-backports/restricted Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-backports/restricted Translation-en_ZA
Get:19 [url]ftp://ftp.sun.ac.za[/url] hardy-backports/universe Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-backports/universe Translation-en_ZA
Get:20 [url]ftp://ftp.sun.ac.za[/url] hardy-backports/multiverse Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-backports/multiverse Translation-en_ZA
Hit [url]ftp://ftp.sun.ac.za[/url] hardy Release
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-updates Release
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-security Release
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-proposed Release
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-backports Release
Hit [url]ftp://ftp.sun.ac.za[/url] hardy/main Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy/restricted Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy/universe Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy/multiverse Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-updates/main Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-updates/restricted Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-updates/universe Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-updates/multiverse Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-security/main Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-security/restricted Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-security/universe Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-security/multiverse Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/main Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/restricted Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/universe Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/multiverse Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-backports/main Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-backports/restricted Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-backports/universe Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-backports/multiverse Packages
92% [Connecting to packages.medibuntu.org (88.191.30.43)]
[/QUOTE]

Not connecting...and no packages are updated...

In Software Sources, the Medibuntu entry is made, and "ticked" under "Third-party Software"

In Synaptic Package Manager the packages are also not listed...

Any help would be appreciated.

Revision history for this message
dfmalh (danie-sun) said :
#16

I just spend an hour typing out my problem just for my browser to crash :-#

So I will try to explain my problem in short.

[U]First some background[/U]:
- this is a fresh install of Ubuntu, with all the updates and upgrades done.
- I am behind a firewall and need a proxy to use the internet (the proxy settings are correct and works, and I can even get to the medibuntu website to get the medibuntu.list file info)
- my general repositories are downloaded from my university's mirror (no proxy nesesary)

[U]Now my problem[/U]:

I can't connect to the Medibuntu repositories...

Input terminal:
[QUOTE]sudo wget [url]http://www.medibuntu.org/sources.list.d/hardy.list[/url] -O /etc/apt/sources.list.d/medibuntu.list[/QUOTE]

Output terminal:
[QUOTE]--18:50:56-- [url]http://www.medibuntu.org/sources.list.d/hardy.list[/url]
           => `/etc/apt/sources.list.d/medibuntu.list'
Resolving [url]www.medibuntu.org[/url]... 87.98.242.10
Connecting to [url]www.medibuntu.org|87.98.242.10|:80[/url]...
[/QUOTE]

This creates the medibuntu.list file, but it is empty...

If I get the relevant info for this file form: [url]http://www.medibuntu.org/sources.list.d/hardy.list[/url]

and inserted it into the medibuntu.list file and run:

Input terminal:
[QUOTE]sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
[/QUOTE]

This is what I get:

Output terminal:
[QUOTE]Hit [url]ftp://ftp.sun.ac.za[/url] hardy Release.gpg
Get:1 [url]ftp://ftp.sun.ac.za[/url] hardy/main Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy/main Translation-en_ZA
Get:2 [url]ftp://ftp.sun.ac.za[/url] hardy/restricted Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy/restricted Translation-en_ZA
Get:3 [url]ftp://ftp.sun.ac.za[/url] hardy/universe Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy/universe Translation-en_ZA
Get:4 [url]ftp://ftp.sun.ac.za[/url] hardy/multiverse Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy/multiverse Translation-en_ZA
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-updates Release.gpg
Get:5 [url]ftp://ftp.sun.ac.za[/url] hardy-updates/main Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-updates/main Translation-en_ZA
Get:6 [url]ftp://ftp.sun.ac.za[/url] hardy-updates/restricted Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-updates/restricted Translation-en_ZA
Get:7 [url]ftp://ftp.sun.ac.za[/url] hardy-updates/universe Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-updates/universe Translation-en_ZA
Get:8 [url]ftp://ftp.sun.ac.za[/url] hardy-updates/multiverse Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-updates/multiverse Translation-en_ZA
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-security Release.gpg
Get:9 [url]ftp://ftp.sun.ac.za[/url] hardy-security/main Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-security/main Translation-en_ZA
Get:10 [url]ftp://ftp.sun.ac.za[/url] hardy-security/restricted Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-security/restricted Translation-en_ZA
Get:11 [url]ftp://ftp.sun.ac.za[/url] hardy-security/universe Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-security/universe Translation-en_ZA
Get:12 [url]ftp://ftp.sun.ac.za[/url] hardy-security/multiverse Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-security/multiverse Translation-en_ZA
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-proposed Release.gpg
Get:13 [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/main Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/main Translation-en_ZA
Get:14 [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/restricted Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/restricted Translation-en_ZA
Get:15 [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/universe Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/universe Translation-en_ZA
Get:16 [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/multiverse Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/multiverse Translation-en_ZA
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-backports Release.gpg
Get:17 [url]ftp://ftp.sun.ac.za[/url] hardy-backports/main Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-backports/main Translation-en_ZA
Get:18 [url]ftp://ftp.sun.ac.za[/url] hardy-backports/restricted Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-backports/restricted Translation-en_ZA
Get:19 [url]ftp://ftp.sun.ac.za[/url] hardy-backports/universe Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-backports/universe Translation-en_ZA
Get:20 [url]ftp://ftp.sun.ac.za[/url] hardy-backports/multiverse Translation-en_ZA
Ign [url]ftp://ftp.sun.ac.za[/url] hardy-backports/multiverse Translation-en_ZA
Hit [url]ftp://ftp.sun.ac.za[/url] hardy Release
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-updates Release
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-security Release
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-proposed Release
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-backports Release
Hit [url]ftp://ftp.sun.ac.za[/url] hardy/main Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy/restricted Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy/universe Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy/multiverse Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-updates/main Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-updates/restricted Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-updates/universe Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-updates/multiverse Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-security/main Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-security/restricted Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-security/universe Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-security/multiverse Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/main Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/restricted Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/universe Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-proposed/multiverse Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-backports/main Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-backports/restricted Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-backports/universe Packages
Hit [url]ftp://ftp.sun.ac.za[/url] hardy-backports/multiverse Packages
92% [Connecting to packages.medibuntu.org (88.191.30.43)]
[/QUOTE]

Not connecting...and no packages are updated...

In Software Sources, the Medibuntu entry is made, and "ticked" under "Third-party Software"

In Synaptic Package Manager the packages are also not listed...

Any help would be appreciated.

Revision history for this message
Tony Mugan (tmugan) said :
#17

How about trying this in a terminal window to see if the proxy is what is causing the issue

sudo wget http://www.medibuntu.org/sources.list.d/hardy.list

This should just download a file called hardy.list

Revision history for this message
dfmalh (danie-sun) said :
#18

Hi Tony,

I entered the link as you sugested, and this is the output:

--10:27:31-- http://www.medibuntu.org/sources.list.d/hardy.list
           => `hardy.list'
Resolving www.medibuntu.org... 87.98.242.10
Connecting to www.medibuntu.org|87.98.242.10|:80...

Again, not connecting and downloading the file called hardy.list

Just to confirm that it is the proxy, I also entered the link in my browser, and I was able to open the file hardy.list

SO it seems that it is the proxy causing the problem. I guess because I setup the proxy inside the browser it detects the settings there, and then it is able to make the connection. Can you tell me, or direct me to a place, that can tell me how to set these "other" proxy settings?

Thanks for all the information and help.

Revision history for this message
dfmalh (danie-sun) said :
#19

I just fount this. It works, but is there another way?

If you’re using Synaptic

Open up your Synaptic package manager (usually as root), go to Settings-> Preference -> Network. Enter your proxy server details like : username:<email address hidden>, and put the proxy server port (usually 8080).
If you’re using command-line apt-get

Edit your /etc/bash.bashrc file as root.

Put these line at the end of your /etc/bash.bashrc file :

export http_proxy=http://username:<email address hidden>:port/
export ftp_proxy=http://username:<email address hidden>/

You can omit the username:password, if your proxy server has no password.

Revision history for this message
Tony Mugan (tmugan) said :
#20

They look like a good solution to me.
Well found.

You should be ok from here.

Can you help with this problem?

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

To post a message you must log in.