LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-22-2005, 07:34 PM   #1
voidnert
LQ Newbie
 
Registered: Oct 2005
Location: bell buckle
Distribution: ubuntu
Posts: 17

Rep: Reputation: 0
Question apt-get help


im trying to get a dvd player for ubuntu, but when i try to do
apt-get install mplayer-386
i get
W: coulndt start source package
...for everything
same if i try
apt-get update
or
apt-get upgrade
vas am i doing wrong?
 
Old 10-23-2005, 12:38 AM   #2
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Rep: Reputation: 37
Looks to me like "mplayer-386" is not the actual name of the .deb package. You will need to find out the actual name of the .deb package.

Unfortunatley on this occasion, apt has not suggested a replacement package name.. (Sometimes apt does suggest alternatives or replacement package names).

Maybe Google the name of the program a little futher, you may find out the name of the actual .deb package for it.
 
Old 10-23-2005, 12:40 AM   #3
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Rep: Reputation: 37
On second thoughts....this could also be caused by your computer not able to reach a package repository. In this case:

a) check your internet connection is up and that you have DNS
b) check the file /etc/apt/sources.list

Regards,
greenie
 
Old 10-23-2005, 10:22 AM   #4
voidnert
LQ Newbie
 
Registered: Oct 2005
Location: bell buckle
Distribution: ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
i dont know how to do that....my internet though is working
 
Old 10-23-2005, 10:26 AM   #5
voidnert
LQ Newbie
 
Registered: Oct 2005
Location: bell buckle
Distribution: ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
also it dosnt work for upgrade, and update, though i there are some 404 errors

to check /etc/apt/sources.list do i gedit ? if so what do i look for?
i ifconfiged and its up and everything, but what is dns and how do i check it?
thx

Last edited by voidnert; 10-23-2005 at 10:30 AM.
 
Old 10-23-2005, 11:04 AM   #6
voidnert
LQ Newbie
 
Registered: Oct 2005
Location: bell buckle
Distribution: ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
i found this forum, same topic if it helps any1 else
 
Old 10-27-2005, 04:01 AM   #7
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Rep: Reputation: 37
A simple way to check if your internet connection is working OK is to browse a few websites, making sure to visit some that you have never visited.

If you are able to browse websites, then we can safely assume:

1) You are connected to your ISP, and...
2) DNS is working.

So if the above is fine, then it is time to check your sources.list file. The sources.list file is how apt-get knows who to contact or where to look for .deb files, updates etc.

Assuming your using Debian Linux, Your sources.list file will be located at:

/etc/apt/sources.list

You can safely view sources.list in your web browser by typing /etc/apt/sources.list into your web browsers address or URL bar.

Or

You can view and edit the file with Gedit. In Gedit, you would click on File then Open. Then double click on 'Filesystem', then double click on 'etc', and then double click on 'apt' and laslty double click on 'sources.list'

Mine looks like this:

#deb cdrom:[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-1 (20050607)]/ unstable contrib main
deb http://http.us.debian.org/debian stable main contrib non-free
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org/ stable/updates main contrib



The first line is remarked out or disabled by the #, but that first line is used if I want apt-get to look at my Debian Sarge DVD for the .deb package I am installing.

The 3rd, 4th and 5th lines that start with deb are the entries in sources.list which tell apt-get where to find the packages out there in the world of the internet.


You can also view and edit sources.list from a terminal session, simply start a terminal session and type the following:

cd /
cd etc/apt
pico sources.list

Make any changes you see fit and the write out (save) the file by pressing CTRL+O
and then exit the pico file editor by pressing CTRL+X

Hope that helps and that my reply wasn't too late.

Regards,
Greenie
 
Old 10-27-2005, 03:55 PM   #8
voidnert
LQ Newbie
 
Registered: Oct 2005
Location: bell buckle
Distribution: ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
thx
yes ubuntu is based on debian, could you please post your hole sources.list to me, mine is screwed up
thx
 
Old 10-27-2005, 04:23 PM   #9
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 9 Stretch
Posts: 2,299
Blog Entries: 8

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
To figure out the exact name of a package, use this command:

apt-cache search mplayer

I don't know if mplayer is even included in the Ubuntu repositories. It certainly isn't included in the standard Debian repositories (license issues).
 
Old 10-27-2005, 09:06 PM   #10
voidnert
LQ Newbie
 
Registered: Oct 2005
Location: bell buckle
Distribution: ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
it isnt, thats what i need, what to add to the repository for it to work
-thx
 
Old 10-28-2005, 05:14 AM   #11
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 31
There's a sticky in the Debian forum, Post your sources.list, that might be of assistance.

In particular, Christian Marillat's repository is probably the most popular one for media-related .debs, and works just fine (the ftp://ftp.nerim.net/debian-marillat/ lines).
 
Old 10-29-2005, 01:20 PM   #12
voidnert
LQ Newbie
 
Registered: Oct 2005
Location: bell buckle
Distribution: ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
thx
 
Old 10-29-2005, 01:33 PM   #13
voidnert
LQ Newbie
 
Registered: Oct 2005
Location: bell buckle
Distribution: ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
im still getting the same thing though....
 
Old 10-29-2005, 03:44 PM   #14
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 31
Have you "apt-get update"-ed since you changed your sources.list file?
 
Old 10-29-2005, 05:37 PM   #15
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 9 Stretch
Posts: 2,299
Blog Entries: 8

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Also, I don't think "stable/testing/unstable" works with Marillat's site anymore. Use sarge/etch/sid instead. For Ubuntu, I think the most appropriate repository would be "sid".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 01:28 PM
knoppix 3.4 and no apt-setup how to fix info install apt-file + base-config maximalred Debian 0 10-16-2004 07:36 PM
apt-proxy and cron-apt - download once for the whole LAN Abject Debian 1 06-20-2004 02:53 PM
knoppix 3.4 apt-setup on hdinstall / apt-get on live-cd non3 Linux - Distributions 0 05-25-2004 11:14 AM
rh9 xd2 apt apt-get problem fix and solution transeunt Red Hat 0 12-16-2003 11:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration