apt-get error

Discuss Applications
Post Reply
User avatar
cdhgold
administrator
administrator
Posts: 382
Joined: Tue Mar 18, 2003 6:11 pm
Location: Texas

apt-get error

Post by cdhgold » Mon Mar 15, 2004 2:25 pm

i just did a fresh install of Suse 9.0 as well as doing all Suse online updates then installed apt-get for Suse from http://linux01.gwdg.de/apt4rpm/ .. my apt-get update runs smoothly and the apt-get dist-upgrade runs okay until i say yes to continue then i get the following error

Need to get 1496MB of archives.
After unpacking 184MB of additional disk space will be used.
Do you want to continue? [Y/n] y
E: Method ftp has died unexpectedly!
E: Tried to dequeue a fetching object
jd:~ #

Is this an error on my system or on the repoistory?

Chris

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Mon Mar 15, 2004 3:31 pm

I'm not familiar with apt on SUSE but it looks like a local configuration problem. Can you show me your sources.list file and your apt.conf file? Do you use a proxy or have one configured?

User avatar
cdhgold
administrator
administrator
Posts: 382
Joined: Tue Mar 18, 2003 6:11 pm
Location: Texas

Post by cdhgold » Mon Mar 15, 2004 3:59 pm

will post them both later tonight when i get home

chris

User avatar
cdhgold
administrator
administrator
Posts: 382
Joined: Tue Mar 18, 2003 6:11 pm
Location: Texas

Post by cdhgold » Mon Mar 15, 2004 5:14 pm

sources/.list
# Uncomment the line below, in case you want to use SuSE's patch rpms.
# Read the information about patch rpms at http://linux01.gwdg.de/apt4rpm

# rpm ftp://ftp.gwdg.de/pub/linux/suse/apt/ SuSE/9.0-i386 update-prpm security-prpm

# A very basic sources.list line. Fastest repository first.
# Remove "base" in case you are behind a
# slow connection. Fastest repository first.
# Visit the server to determine which apt components are provided.
#rpm ftp://mirrors.mathematik.uni-bielefeld. ... /suse/apt/ SuSE/9.0-i386 update security
#rpm ftp://ftp.gwdg.de/pub/linux/suse/apt/ SuSE/9.0-i386 update security
rpm ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/9.0-i386 suser-scorot suse-people base update-prpm update gnome2 xfree86 mozilla suser-rbos usr-local-bin suser-kpietrz suser-tcousin suser-sbarnin suser-ollakka funktronics packman packman-i686 wine suse-projects security-prpm security
rpm-src ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/9.0-i386 suser-scorot suse-people base update-prpm update gnome2 xfree86 mozilla suser-rbos usr-local-bin suser-kpietrz suser-tcousin suser-sbarnin suser-ollakka funktronics packman packman-i686 wine suse-projects security-prpm security

# The list with all available components can be found at:
# http://linix01.gwdg.de/apt4rpm
# Some components provide experimental software, select wisely!
# http://ftp.gwdg.de/pub/linux/suse/apt/S ... s.list.FTP

# Consult the link above if you want to include uri's for src rpms

apt.conf
// with "apt-config dump" all settings can be viewed

Acquire::CDROM::Copy "true";

Debug
{
pkgRPMPM "false";
}

RPM
{
// Hold (do not update) a list with pkgs:
// Hold { "k_deflt"; "sane"; };
// Leave list empty to disable
Ignore {"gpg-pubkey"; };

Options { };
Install-Options "";
Erase-Options "";
Source {
Build-Command "rpmbuild --rebuild";
};
}
thanks for any advice
chris

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Mon Mar 15, 2004 6:25 pm

There is nothing there that jumps out at me. Are you able to do download an RPM from the comand line from the repository?
e.g.

Code: Select all

# cd /tmp
# wget ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.0-i386/RPMS.suser-scorot/MPlayer-skins-1.4-1.noarch.rpm
You do not have a proxy defined in your apt.conf so I assume you don't need one to ftp out from your box. Another thing you might try is in your sources.list change the URL from "ftp://" to "http://". That is, so you have this:

Code: Select all

rpm http://ftp.gwdg.de/pub/linux/suse/apt SuSE/9.0-i386 suser-scorot suse-people base update-prpm update gnome2 xfree86 mozilla suser-rbos usr-local-bin suser-kpietrz suser-tcousin suser-sbarnin suser-ollakka funktronics packman packman-i686 wine suse-projects security-prpm security
rpm-src http://ftp.gwdg.de/pub/linux/suse/apt SuSE/9.0-i386 suser-scorot suse-people base update-prpm update gnome2 xfree86 mozilla suser-rbos usr-local-bin suser-kpietrz suser-tcousin suser-sbarnin suser-ollakka funktronics packman packman-i686 wine suse-projects security-prpm security
Then "apt-get update" and then "apt-get install somepackage".

User avatar
cdhgold
administrator
administrator
Posts: 382
Joined: Tue Mar 18, 2003 6:11 pm
Location: Texas

Post by cdhgold » Mon Mar 15, 2004 8:55 pm

tried it with both ftp as it is and http: as you suggestted the ftp is the one of the 2 that worked i was able to install the skins package that you used as an example in your suggestion but stil lget same error when doing apt-get dist-upgrade .. any other ideas??

Chris

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Mon Mar 15, 2004 9:36 pm

How about just running an "apt-get upgrade"?

EDIT: I've been doing a lot of searching and I'm just coming up empty on the problem you are having. I wish I could help you more but it seems the SUSE version has a few differences here and there. I think you best bet would be to subscribe to the apt4rpm-suse mailing list and ask your question. I would be willing to bet someone on there will be able to help solve your problem. Here is the subscription info and the archives:

http://lists.sourceforge.net/lists/list ... t4rpm-suse

agent007
administrator
administrator
Posts: 254
Joined: Wed Feb 12, 2003 11:26 pm

Post by agent007 » Sun Apr 18, 2004 1:54 am

Could it be the firewall?

Post Reply