You are not logged in.
Pages: 1
I've been using Linux machines for about five years (on and off), and have just bought a Linux Eee 701 (this is my first post - hi all
). I'm more used to things "just working" with Linux when it comes to installing packages via apt-get, and haven't had the following happen to me before...
Basically, I've followed the wiki instructions on adding the Xandros repositories (including the 'pinning'), and tried installing VLC via apt-get. However, it failed with the following error message:
The following packages have unmet dependencies:
vlc: Depends: libwxgtk2.6-0 (>= 2.6.3.2.1.5) but it is not going to be installed
E: Broken packages
I checked where the vlc package would come from (sudo apt-cache policy vlc), and it seemed to indicate the Xandros repository. I next tried looking for the "unmet dependency" (libwxgtk2.6-0) using synaptic, but when I found it and marked it for installation, the info I saw seemed to be saying that a whole load of fundamental system packages would be either removed or upgraded, so I backed off...
I also got a similar message when I tried installing Miro, except this time the troublesome package was "scim-gtk2-immodule"
Please could someone suggest where I may be going wrong - I suspect there's a problem with the repos, but this is the first time I've run into this problem with apt-get.
BTW, here is my /etc/apt/sources.list:
deb http://update.eeepc.asus.com/1.6/ common main
deb http://update.eeepc.asus.com/1.6/ p704 main
deb http://update.eeepc.asus.com/1.6/ en main
#Add the existing repos specific to your model below this line
# Original Asus 701 repos, do not change the reference to the 701!
deb http://update.eeepc.asus.com/p701/ p701 main
deb http://update.eeepc.asus.com/p701/en/ p701 main
# Community repos, good for conky. Do not change the reference to the 701
deb http://download.tuxfamily.org/eeepcrepos/ p701 main etch
# Xandros repos
deb http://xnv4.xandros.com/xs2.0/upkg-srv2/ etch main contrib non-free
deb http://www.geekconnection.org/ xandros4 main
deb http://xnv4.xandros.com/4.0/pkg/ xandros4.0-xn main contrib non-free
# Debian (mainly for VLC)
deb ftp://ftp.uk.debian.org/debian stable main contrib non-free
Thanks in advance for any help - much appreciated ![]()
Tim
Offline
welcome to the forum! ![]()
firstly your debian repo links to stable, which is lenny. you need to change it to etch.
deb ftp://ftp.uk.debian.org/debian etch main contrib non-free
here's what apt shows me
apt-cache policy vlc
vlc:
Installed: (none)
Candidate: 0.8.6-svn20061012.debian-5
Version table:
0.8.6-svn20061012.debian-5.1+etch2 0
500 ftp://ftp.uk.debian.org etch/main Packages
0.8.6-svn20061012.debian-5 0
850 http://xnv4.xandros.com etch/main Packagesapt-cache policy libwxgtk2.6-0
libwxgtk2.6-0:
Installed: (none)
Candidate: 2.6.3.2.1.5
Version table:
2.6.3.2.1.5 0
850 http://xnv4.xandros.com etch/main Packages
500 ftp://ftp.uk.debian.org etch/main Packagesif you have a standard 701, then you don't want the 1.6 repos enabled, unless you are sourcing something specific.
edit, sudo apt-get update, then post the output of
apt-cache policy vlc
sudo apt-get -s install vlc
apt-cache policy libwxgtk2.6-0
Last edited by BL00 (2009-10-25 7:58:57 pm)
Offline
vlc is located on the http://xnv4.xandros.com/xs2.0/upkg-srv2/ etch main contrib non-free server because I researched it for someone else last night. Instead of using apt-get, open a terminal, type sudo synaptic and enable the above repository only.
When I marked just vlc for install (several vlc items are also listed) it brought along two dependencies (not starting with vlc). I did not do the actual install because mplayer works to view all the movies I have on my sdhc cards.
I think you may be able to get it to install because synaptic will pick up and install the dependencies.
Offline
Hi tawalker
Before you'll try to install something new, you should delete all
broken packages. Until you don't do that you can't install anything.
You can check and delete it by synaptic.
Click "status" and if you see a line "broken dependencies" in the left
window then click this line.
Now you can see in the right window the broken package(s).
Delete it (or them).
Greetings gringo
Offline
Thanks everyone - you're all stars! ![]()
BL00: I updated the Debian repo (thanks for spotting that), disabled the 1.6 ones and updated apt-get. I think I may need to update the "pinning" settings as well, but that's something new to me so I'll "cross that bridge when I come to it".
I'm off to work shortly, but will post back here this evening with further details of how I get on - just wanted to post back here and thank you all for your help thus far.
See you later ![]()
Offline
Hi again ![]()
Sorry for not being able to post yesterday as I planned to (various things got in the way...). Here's an update on where I got to with these items:
@gringo: I checked in Synaptic, and it reports that there are no broken packages, which I suppose counts for something - thanks for the suggestion, though.
@plodr: I disabled all the other repos in Synaptic and reloaded, then tried installing VLC again, but it still "fell over", asking for libwxgtk2.6.0. It was worth a try ![]()
@BL00: Here's the output of the commands you suggested, after making the repo changes:
apt-cache policy vlc
vlc:
Installed: (none)
Candidate: 0.8.6-svn20061012.debian-5
Version table:
0.8.6-svn20061012.debian-5.1+etch2 0
500 ftp://ftp.uk.debian.org etch/main Packages
0.8.6-svn20061012.debian-5 0
850 http://xnv4.xandros.com etch/main Packagessudo apt-get -s install vlc Reading package lists... Done Building dependency tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: vlc: Depends: libwxgtk2.6-0 (>= 2.6.3.2.1.5) but it is not going to be installed E: Broken packages
apt-cache policy libwxgtk2.6-0
libwxgtk2.6-0:
Installed: (none)
Candidate: 2.6.3.2.1.5
Version table:
2.6.3.2.1.5 0
850 http://xnv4.xandros.com etch/main Packages
500 ftp://ftp.uk.debian.org etch/main PackagesI also followed the wiki advice on 'pinning' repositories, but I have never done that before so I may not have understood 100% what I was doing ![]()
When I went to install libwxgtk2.6-0 via Synaptic, it gave me a long list of packages which would have to be removed first, and many of them looked like core KDE and other system packages, so I decided to play safe.
Any thoughts on where to go from here, greatly appreciated - many thanks for all your help so far ![]()
Tim
Offline
Postscript to the above: I've also tried installing Miro, and Synaptic tells me of an unmet dependency with that as well (scim-gtk2-immodule):
apt-cache policy scim-gtk2-immodule
scim-gtk2-immodule:
Installed: (none)
Candidate: 1.4.4-7asus6
Version table:
1.4.4-7asus6 0
950 http://update.eeepc.asus.com p701/main Packages
1.4.4-7 0
850 http://xnv4.xandros.com etch/main Packages
500 ftp://ftp.uk.debian.org etch/main PackagesAs with libwxgtk2.6.0, if I try installing scim-gtk2-immodule, it warns me of packages needing removal, most of which look like core system items.
Why do I have a gut feeling that the repo pinning settings might be the problem here?
Offline
wondering, especially as you had the 1.6 repos enabled, whether this could be libc6 related. post the output of
apt-cache policy libc6 firefox-upgrade
post your sources and prefs with
sudo kwrite /etc/apt/sources.list
sudo kwrite /etc/apt/preferences
i'm sure you'll have done it ok
but then we can check your gut feeling ![]()
Offline
That was quick - thanks once again ![]()
apt-cache policy libc6 firefox-upgrade
libc6:
Installed: 2.7-13
Candidate: 2.7-13
Version table:
*** 2.7-13 0
100 /var/lib/dpkg/status
2.3.6.ds1-13etch5 0
900 http://download.tuxfamily.org p701/etch Packages
2.3.6.ds1-13 0
950 http://update.eeepc.asus.com p701/main Packages
850 http://xnv4.xandros.com etch/main Packages
2.3.2.ds1-22sarge4 0
750 http://www.geekconnection.org xandros4/main Packages
850 http://xnv4.xandros.com xandros4.0-xn/main Packages
firefox-upgrade:
Installed: 2.0-1
Candidate: 2.0-1
Version table:
*** 2.0-1 0
100 /var/lib/dpkg/statusMy repository list:
# deb file:/tmp/.VmkFn72l/ tmp main # deb file:/tmp/.oObhxKqh/ tmp main #Add the existing repos specific to your model below this line # Original Asus 701 repos, do not change the reference to the 701! deb http://update.eeepc.asus.com/p701/ p701 main deb http://update.eeepc.asus.com/p701/en/ p701 main # Community repos, good for conky. Do not change the reference to the 701 deb http://download.tuxfamily.org/eeepcrepos/ p701 main etch # Xandros repos deb http://xnv4.xandros.com/xs2.0/upkg-srv2/ etch main contrib non-free deb http://www.geekconnection.org/ xandros4 main deb http://xnv4.xandros.com/4.0/pkg/ xandros4.0-xn main contrib non-free # Debian # deb ftp://ftp.uk.debian.org/debian/ etch main contrib non-free
...and the pinning list:
Package: * Pin: origin update.eeepc.asus.com Pin-Priority: 950 Package: * Pin: origin updates.xepc.org Pin-Priority: 935 Package: * Pin: origin Pin-Priority: 925 Package: * Pin: origin download.tuxfamily.org Pin-Priority: 900 Package: * Pin: origin xnv4.xandros.com Pin-Priority: 850 Package: * Pin: origin www.geekconnection.org Pin-Priority: 750 Package: * Pin: release a=stable Pin-Priority: 700 Package: * Pin: release a=testing Pin-Priority: 650 Package: * Pin: release a=unstable Pin-Priority: 600 Package: *
(basically, what was in the wiki)
Actually, looking at all that, I think I'm starting to guess why there might be problems...
Hope I haven't messed things up much... thanks once again!
Tim
Offline
your pinning and repos are fine. the problem is indeed libc6. when you enabled the 1.6 repos and upgraded firefox the asus way, this method upgrades libc6 to an interim version, that is incompatible with vlc under etch. it also means you will have issues installing build-essential, which will only ever be an issue if you are going to build your own packages. there are a few options here, depending on how you feel.
updating firefox via yurenju's script avoids the libc6 issue, and means vlc can be installed ok. albkwan has investigated the issue here clicky where he mentions that
albkwan wrote:
This upgrade is incompatible with vlc and libwxgtk2.6-0. They will be removed during the installation process and cannot be re-installed (broken package). Please note that without libwxgtk2.6-0, you won't be able to install some softwares including xchm, amule, etc.
the obvious and probably way overkill method is to f9 and start again. not always a bad option. erases all personal data too. but it's drastic. instead you would need to look into 'downgrading' & uninstalling the problematic items. take out firefox, libc6, & possibly the asus provided gtk. then reinstall the necessary packages again, & use yurenju's method. it is not as hard as it might sound (i think!) but would need time to check what is installed, & therefore needs uninstalling.
the other option is to pursue moving forward with your mixed system, which would be more experimental
i tried some experiments briefly with lazyfai's xepc install & installed lenny vlc & build-essential successfully. that would mean enabling the lenny repo that you changed and sourcing the packages from there. with your pinning set now, it is a possibility. but this could start more dependency problems for the other programs you mentioned. there's the possibility those programs are in the 1.6 repos?
choices eh? sorry there's no easy answer. you'll know which answer will suit you best, and then take it from there!
Last edited by BL00 (2009-10-27 8:28:36 pm)
Offline
Thanks BL00 - this will teach me to read instructions more closely next time ![]()
I've only had the Eee for about one week, which means that the F9 approach might actually turn out the best one in the long run. (I've set up a few things already, but not many.)
Will have a think about that today, and let you know how it turns out - thanks again for the detective work!
Offline
horses for courses depending on what you like doing. i always think, if you're pondering doing an f9 anyways, you might as well take the interesting option, on the basis that if it goes wrong, you were going to f9 it in the 1st place!
that way you get to play, learn something, and feel that sense of achievement/frustrastion/satisfaction. but like i said, you'll know yourself what feels like the best option. gut feelings are always the way to go.
Offline
Right, I've F9'ed the machine, and have downloaded yurenju's Firefox script. I won't actually run it until I get home this evening to our home LAN (they have WiFi at the office, but don't know if they'll take kindly to a big download!), but at least I'm ready to give it a try.
Just so I'm certain, which repos are OK to add, and which ones should I leave out, to avoid a repeat of the problems? (I know not to enable the 1.6 repos - which were pre-installed, so I've disabled them - and I understand that one or more of the Xandros ones are OK, but now I know what can happen, I'd rather avoid future troubles!)
Thanks once again ![]()
Offline
it's a relatively small download. that's interesting, didn't realise that 701's came with 1.6 repos open. hmmmm, didn't know that, always learning
. there's loads of stuff that works fine from the 1.6 repos. unfortunately the firefox 3/libc6 is the one that causes issues to some users! many people will never realise it, until they try to install something such as vlc or build essential.
your repos were fine minus the etch issue that you changed, and if it came with 1.6 repos enabled, you can leave them open. apart from the libc6 issue, i don't think there's any other problems. the pinning was fine too, and will avoid most such similar issues. my 701 has the 1.6 repos open, because i play around on that machine more. which exact model is it?
keep up the blogging too ![]()
Offline
keep up the blogging too
I'm glad you approve - thanks! I thought I'd use the blog partly as a 'diary' of what I'm doing with my 701, so I can remember what I did to get certain things working, link to places where other people have done the hard work (
), and so on. I'd also like to make some screencasts of the Eee in future, though that depends on me finding an application which can record VNC sessions.
My Eee 701 is the 8Gb model - I was lucky enough to find one for a pretty low price at an online store which sells refurbished netbooks (amongst other machines).
Will have a go at re-enabling the repos later on; fingers crossed this time...
Offline
Good news: I've used the install_firefox script, and now have Firefox 3.0.1... and VLC
Thanks for getting me through the tough stuff!
I just have Miro to go - it's still giving me the "unmet dependency" error with scim-gtk2-immodule. Running apt-cache policy gives me this:
apt-cache policy scim-gtk2-immodule
scim-gtk2-immodule:
Installed: (none)
Candidate: 1.4.4-7asus6
Version table:
1.4.4-7asus6 0
950 http://update.eeepc.asus.com p701/main Packages
1.4.4-7 0
850 http://xnv4.xandros.com etch/main PackagesTrying to install this would involve the removal of quite a few packages, including VLC
I can live without Miro if I have to (as long as there's another good video podcast catcher out there), but I'd be really pleased if it's possible to get around this problem.
In the meantime, thanks once again for all your help - you've been lifesavers here ![]()
Tim
Offline
to download packages to meet dependancies sudo apt-get install -f
Offline
Pages: 1