Skip navigation.
Home
Now Shipping Version 7.0

apt-get does not work with SimplyMEPIS 3.3.1?


Posts: 7

When I used apt-get update/upgrade after installing SimplyMEPIS 3.3.1, I got the following message. It seemed to be too fast to be reasonable.

apt-get update
Get:1 http://apt.mepis.org unstable/main Packages [5011B]
Get:2 http://apt.mepis.org unstable/main Release [81B]
Fetched 5092B in 1s (4656B/s)
Reading Package Lists... Done

apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

When I tried to install software with apt-get, I got:

apt-get install kaffeine
Reading Package Lists... Done
Building Dependency Tree... Done
Package kaffeine is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package kaffeine has no installation candidate

I tried some other packages and got the same message. They just couldn't be found. All these packages were installed successfully when I used version 3.3. And apt-get update/upgrade also worked well in that version as well. The new version was newly installed and I haven't change anything. I found the problem when I tried 3.3.1 test2.

Just wondering if there are any setting to be done to get apt-get working under 3.3.1? Pls help. I'm a newbee and don't know much about MEPIS.

hippy's picture

apt

mikeye, in 3.3.1 the sources are not turned on by default what you need to do is edit your sources file as root, you will find it here /etc/apt/sources.list you need to take the # off the front of the deb lines. to get them back, also you can do the same by opening synaptic then click on settings > repositories and placing a cross to enable them

./hippy

linux reg no #371875

Newbie on the command-line

I realize the command-line in Linux can be fun, but if you're a newbie, you may want to try Synaptic Package Manager for software downloads/updates instead. It's basically the same thing but with a graphical user interface.

I think it's in tools/ repositories (drop-down menu at the top) where you can check boxes for all sources instead of the default single source. Then, you can search/browse for whatever software you want and right-click "mark for installation" the ones you want.

Finally, when you've decided on everything to install and uninstall, you click "apply" and all your changes will be worked out.

works

Thanks, it works now. By th way, how can I use apt-get update/upgrade within Synaptic?

Update is achieved by

Update is achieved by clicking on the reload button (green arrows in a circle - top left).

Upgrade is done by clicking the next button on the right (mark all upgrades), then clicking the Apply button (next right again).

RossD.

Apt Sources for 3.3.1 final..

Can someone who has installed the final of 3.3.1 from CD rather than by apt, please post your /etc/apt/sources.list.

I think mine is a bit strange and I would like to compare them. I'm getting some errors from apt/synaptic.

Thanks,

RossD.

p.s.

It is the 3.3.1 final, NOT test 01 or teat 02 that I am after please.

What's strange about yours?

Actually, I ended up reinstalling 3.3.1 (the final version) from CD rather than doing an upgrade, and I found that there was only one default repository. In Synaptic, go to settings and repositories, and you'll see a bunch of checkboxes. If you check them all, you'll have access to everything.

hippy's picture

Mepis 3.3.1

Hi RossD, my sources list is from a fresh install of mepis 3.3.1 as follows:

# See sources.list(5) for more information, especialy

# This file should be edited through synaptic
# New sources should be added only in the section at the end of this file!

# Primary
deb ftp://ftp.us.debian.org/debian/ testing main contrib non-free
deb ftp://ftp.us.debian.org/debian/ unstable main contrib non-free

# non-us
deb ftp://non-us.debian.org/debian-non-US/ testing/non-US main contrib non-free
deb ftp://non-us.debian.org/debian-non-US/ unstable/non-US main contrib non-free

# MEPIS apt pool - specific packages available on-line
deb http://apt.mepis.org/3.3/ unstable main

# DO NOT EDIT ABOVE THIS LINE
# mplayer
deb ftp://ftp.nerim.net/debian-marillat/ unstable main

hope it helps

./hippy

linux reg no #371875

Thanks hippy, mine is way

Thanks hippy, mine is way different from that, probably because I still have the sources.list from 3.3.1.t01 and I suspect that is the problem.

Mine still has reference to:

deb http://apt.mepis.org/3.3/ unstable main
deb http://apt.mepis.org/3.3/ pool main
deb http://apt.mepis.org/3.3.1/ unstable main

Yours has only one of these, and it is the other two that are faulting.

Mine also has these:

# deb http://192.168.0.102/pools/sid1/ testing main contrib non-free
# deb http://192.168.0.102/pools/sid2/ testing main contrib non-free
# deb http://192.168.0.102/pools/sid3/ testing main contrib non-free
# deb http://192.168.0.102/pools/sarge1/ testing main contrib non-free
# deb http://192.168.0.102/pools/sarge2/ testing main contrib non-free
# deb http://192.168.0.102/pools/sarge3/ testing main contrib non-free

I have no idea whether enabling them in Synaptic as aysiu suggests might break something as there are several versions if debian listed there.

For now I'll go with the one from your fresh CD install, until I can confirm what those last ones do. The IP address suggests they were on the network, but unless Synaptic found them on a xandros machine i have no idea where they came from.

Better safe than sorry.

Thanks again hippy,

RossD.

Hi aysiu, My

Hi aysiu,

My sources.list is a bit corrupted, as I can see from hippy's post. I usually reinstall from CD each time, but this time I decided to try to skip all the configuration hassles and do it through apt.

It takes ay too long to mess around installing quanta and the other programs necessary to make simplyMEPIS useable (for MY day to day use), and configuring partitions each time etc. etc.

If the upgrade goes smoothly, as it seems to have, life will be so much easier.

Cheers,

RossD.

hippy's picture

your welcome

RossD, im glad that you have it sorted now, with regard to those extra sources they were wrong in test 1 but were fixed for test02.

click here

./hippy

linux reg no #371875

Hi hippy, Sorry to cut in

Hi hippy, Sorry to cut in but I can't get either /etc/apt/sources.list or synaptic to get Kaffiene or mplayer, It says I have mplayer installe
d, But kaffiene isn't. Also I have a problem in getting into /etc/apt/sources.list.
I went in as root and it still says I haven't permission?
t@1[~]# /etc/apt/sources.list
bash: /etc/apt/sources.list: Permission denied
root@1[~]#
Any help is appreciated. Thanks. fvs

AdrianTM's picture

to edit the file you need to

to edit the file you need to open it with a text editor: kwrite or kedit

so, try again by typing:
kwrite /etc/apt/sources.list

--
Post questions on www.mepislovers.org too -- very helpful community

hippy's picture

edit sources

hi fvs, as adrian has said you need to open that file with a text editor, i suggest click on K button > run command > type in the box kdesu kwrite, it will then ask for your root password

once open navigate to /etc/apt/and open sources.list file, then make your changes as already posted also after Debian released their Sarge distro, they decided to do away with the non-us repos and now all Mepis users will get apt-get update errors unless they take the non-us repositories out of their sources.list file.

hippy (Dave)

linux reg no #371875

Hippy, I did an edit of

Hippy, I did an edit of /etc/apt/source.list and remved # comment in front of mplayer and I still can't launch it in the GUI?
I know I'm missing something?

hippy's picture

sources

hi fvs, okay we seem to have 2 threads going now so to recap on your other post you were asking about kaffeine, so lets deal with installing that first

have you enabled all your sources and taken out the non us lines?

if you have open a console/terminal

type su
enter your root password and press enter key
now type apt-get update

when back to prompt type apt-get install kaffeine kaffeine-mozilla

try that and report back what happens

hippy (Dave)

linux reg no #371875

fvs@1[~]$

fvs@1[~]$ su
Password:
root@1[fvs]# apt-get update
Reading Package Lists... Done
root@1[fvs]# apt-get install kaffeine kaffeine-mozzilla
Reading Package Lists... Done
Building Dependency Tree... Done
Package kaffeine is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package kaffeine has no installation candidate
root@1[fvs]#
fvs@1[~]$ su
Password:
root@1[fvs]# apt-get update
Reading Package Lists... Done
root@1[fvs]# apt-get install kaffeine kaffeine-mozzilla
Reading Package Lists... Done
Building Dependency Tree... Done
Package kaffeine is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package kaffeine has no installation candidate
root@1[fvs]#

Dave, I'm sorry to add this

Dave, I'm sorry to add this one, But check this error message from synaptic repository,
W: Couldn't stat source package list ftp://ftp.cli.debian.org testing/main Packages (/var/lib/apt/lists/ftp.cli.debian.org_debian_dists_testing_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.cli.debian.org testing/contrib Packages (/var/lib/apt/lists/ftp.cli.debian.org_debian_dists_testing_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.cli.debian.org testing/non-free Packages (/var/lib/apt/lists/ftp.cli.debian.org_debian_dists_testing_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.cli.debian.org unstable/main Packages (/var/lib/apt/lists/ftp.cli.debian.org_debian_dists_unstable_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.cli.debian.org unstable/contrib Packages (/var/lib/apt/lists/ftp.cli.debian.org_debian_dists_unstable_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.cli.debian.org unstable/non-free Packages (/var/lib/apt/lists/ftp.cli.debian.org_debian_dists_unstable_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.cli.debian.org testing/main Packages (/var/lib/apt/lists/ftp.cli.debian.org_debian_dists_testing_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.cli.debian.org testing/contrib Packages (/var/lib/apt/lists/ftp.cli.debian.org_debian_dists_testing_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.cli.debian.org testing/non-free Packages (/var/lib/apt/lists/ftp.cli.debian.org_debian_dists_testing_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.cli.debian.org unstable/main Packages (/var/lib/apt/lists/ftp.cli.debian.org_debian_dists_unstable_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.cli.debian.org unstable/contrib Packages (/var/lib/apt/lists/ftp.cli.debian.org_debian_dists_unstable_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.cli.debian.org unstable/non-free Packages (/var/lib/apt/lists/ftp.cli.debian.org_debian_dists_unstable_non-free_binary-i386_Packages) - stat (2 No such file or directory)

hippy's picture

fvs

hi no worries fvs, could you post your /etc/apt/sources.list, so i can see what you have enabled

thanks

hippy (Dave)

linux reg no #371875

Thanks Dave, # See

Thanks Dave,
# See sources.list(5) for more information, especialy

# This file should be edited through synaptic
# New sources should be added only in the section at the end of this file!

# Primary
deb ftp://ftp.cli.debian.org/debian/ testing main contrib non-free
deb ftp://ftp.cli.debian.org/debian/ unstable main contrib non-free

# non-us

# MEPIS apt pool - specific packages available on-line
# deb http://apt.mepis.org/3.3.1/ unstable main

#mplayer
deb http://wine.sourceforge.net/apt/ source/
deb ftp://ftp.nerim.net/debian-marillat/ unstable main

hippy's picture

sources

okay fvs, there is a lot of problems with the repos at the moment as debian is making changes what i would try if i were you is to change this
# Primary
deb ftp://ftp.cli.debian.org/debian/ testing main contrib non-free
deb ftp://ftp.cli.debian.org/debian/ unstable main contrib non-free

to this
# Primary
deb ftp://ftp.debian.org/debian/ testing main contrib non-free
deb ftp://ftp.debian.org/debian/ unstable main contrib non-free

now try apt-get update and see if that works

hope so

hippy (Dave)

linux reg no #371875

Not yet, root@3[fvs]#

Not yet,
root@3[fvs]# apt-get update
Err http://wine.sourceforge.net source/ Packages
404 Not Found
Hit http://wine.sourceforge.net source/ Release
Hit ftp://ftp.debian.org testing/main Packages
Hit ftp://ftp.debian.org testing/main Release
Hit ftp://ftp.nerim.net unstable/main Packages
Hit ftp://ftp.debian.org testing/contrib Packages
Hit ftp://ftp.debian.org testing/contrib Release
Hit ftp://ftp.nerim.net unstable/main Release
Hit ftp://ftp.debian.org testing/non-free Packages
Hit ftp://ftp.debian.org testing/non-free Release
Hit ftp://ftp.debian.org unstable/main Packages
Hit ftp://ftp.debian.org unstable/main Release
Hit ftp://ftp.debian.org unstable/contrib Packages
Hit ftp://ftp.debian.org unstable/contrib Release
Hit ftp://ftp.debian.org unstable/non-free Packages
Hit ftp://ftp.debian.org unstable/non-free Release
Failed to fetch http://wine.sourceforge.net/apt/source/Packages.gz 404 Not Found
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
root@3[fvs]# apt-get install mplayer
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
root@3[fvs]# apt-get install kaffeine kaffeine-mozilla
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
root@3[fvs]#

Dave, I not running 3.3.1 I have 2.6.10, Does that matter? Sorry

hippy's picture

fvs, do you have synaptic or

fvs, do you have synaptic or kpackage open when trying to run apt-get update in console, the error seems to suggest you have

close synaptic and kpackage then open console and run apt-get update also it looks as if your wine repos isnt working comment that line out for a while until we get the other sources working right

we are getting closer

hippy (Dave)

linux reg no #371875

Hi Dave, We are real close,

Hi Dave, We are real close, Here are the results,
fvs@1[~]$ su
Password:
root@1[fvs]# apt-get update
Hit ftp://ftp.debian.org testing/main Packages
Hit ftp://ftp.debian.org testing/main Release
Hit ftp://ftp.nerim.net unstable/main Packages
Hit ftp://ftp.debian.org testing/contrib Packages
Hit ftp://ftp.debian.org testing/contrib Release
Hit ftp://ftp.nerim.net unstable/main Release
Hit ftp://ftp.debian.org testing/non-free Packages
Hit ftp://ftp.debian.org testing/non-free Release
Hit ftp://ftp.debian.org unstable/main Packages
Hit ftp://ftp.debian.org unstable/main Release
Hit ftp://ftp.debian.org unstable/contrib Packages
Hit ftp://ftp.debian.org unstable/contrib Release
Hit ftp://ftp.debian.org unstable/non-free Packages
Hit ftp://ftp.debian.org unstable/non-free Release
Reading Package Lists... Done
root@1[fvs]# apt-get install mplayer
Reading Package Lists... Done
Building Dependency Tree... Done
Package mplayer is a virtual package provided by:
mplayer-nogui 1:1.0-pre7-0.0
mplayer-k6 1:1.0-pre7-0.0
mplayer-586 1:1.0-pre7-0.0
mplayer-386 1:1.0-pre7-0.0
You should explicitly select one to install.
E: Package mplayer has no installation candidate
root@1[fvs]# Which one do I chose?

hippy's picture

mplayer

yeah looking good

okay this depends on your machine architecture, i have intel pentium so i installed mplayer-586, if you open synaptic, then edit and search, type in mplayer you will see there also the mozilla-mplayer plugin

using synaptic for this gives you more info which to install for example if you click on mplayer 585 in the lower screen you get this This version is for Pentium Pro/Celeron/Pentium II/Pentium IIIPentium
Pro/Celeron/Pentium II/Pentium III/Pentium IV

and clicking on mplayer-k6 gives this This version is for AMD Duron/Athlon

hope this helps

hippy (Dave)

linux reg no #371875

Dave I have a Intel Pent4

Dave I have a Intel Pent4 and it doesn't list it, The mplayer 686 shows this,
transitional dummy package which can be safely removed
Dummy package to upgrade to the new package mplayer-586
Don't know what it means?
How about this version mplayer-nogui,
he Ultimate Movie Player For Linux
It plays most mpeg, avi and asf files, supported by many native and win32
DLL codecs. You can watch VCD, DVD and even DivX movies too. The other
big feature of mplayer is the wide range of supported output drivers. It
works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, but you can use SDL (and
this way all drivers of SDL) and some lowlevel card-specific drivers (for
Matrox/3dfx/SiS) too! Most of them supports software or hardware scaling,
so you can enjoy movies in fullscreen.

This version doesn't have the User Interface in GTK.

This version is for all CPUs

hippy's picture

fvs, yes that should be ok

fvs, yes that should be ok

hippy (Dave)

linux reg no #371875

Dve, Can't see it on my

Dave,
Can't see it on my desktop as GUI,Heres what I get,
vs@1[~]$ mplayer
MPlayer 1.0pre7-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Intel (Family: 8, Stepping: 1)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

73 audio & 180 video codecs
Usage: mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)
-vo select video output driver & device ('-vo help' for
a list)
-ao select audio output driver & device ('-ao help' for
a list)
vcd://
play (S)VCD (Super Video CD) track (raw device, no
mount)
dvd:// play DVD title from device instead of plain file
-alang/-slang select DVD audio/subtitle language (by 2-char countr
y code)
-ss seek to given (seconds or hh:mm:ss) position
-nosound do not play sound
-fs fullscreen playback (or -vm, -zoom, details in the m
an page)
-x -y set display resolution (for use with -vm or -zoom)
-sub specify subtitle file to use (also see -subfps, -sub
del
ay)
-playlist specify playlist file
-vid x -aid y select video (x) and audio (y) stream to play
-fps x -srate y change video (x fps) and audio (y Hz) rate
-pp enable postprocessing filter (details in the man page)
-framedrop enable frame dropping (for slow machines)

Basic keys: (complete list in the man page, also check input.conf)
<- or -> seek backward/forward 10 seconds
up or down seek backward/forward 1 minute
pgup or pgdown seek backward/forward 10 minutes
< or > step backward/forward in playlist
p or SPACE pause movie (press any key to continue)
q or ESC stop playing and quit program
+ or - adjust audio delay by +/- 0.1 second
o cycle OSD mode: none / seekbar / seekbar + timer
* or / increase or decrease PCM volume
z or x adjust subtitle delay by +/- 0.1 second
r or t adjust subtitle position up/down, also see -vf expand

* * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *

fvs@1[~]$

hippy's picture

mplayer

hi fvs, it may not run from console as you downloaded the nogui version, however is it listed under multimedia menu and can you start it from there.

i am not sure how much more help i can offer as although mplayer is installed on my machine i dont actually use that program, i have done some searching and there has been a lot of problems with mplayer, mplayer fonts etc you can take a look at the post over at mepislovers just enter mplayer in the search box and see if any of those threads can help you further
also the command to start mplayer is gmplayer

http://www.mepislovers.org/

hippy (Dave)

linux reg no #371875

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.