Reply
Thread Tools
Posts: 215 | Thanked: 44 times | Joined on Dec 2007
#61
Originally Posted by Moonshine View Post

---------------------------
Quote: Originally Posted by DJames1
..... Would it possible to write a repository indexer that could cycle through all of them and create a database of what's where and what the dependencies of each package are?
---------------------------

Poof..

http://www.gronmayer.com/it/

Although dependencies would take additional work.
Looks great in theory, but I just tried this repository index to find a missing library (libgdbm3) for installing the 2008 version of Maemo Mapper, and it didn't seem to work. My search found 19 hits in various repositories, but I already had the first few repositories installed in my App Manager. I added the next couple as well, but no help - the missing library did not appear and the install still failed. Finally I gave up trying to install Maemo Mapper from the deb file, since it had appeared in the installable Apps list at some point while adding repositories, and I just added it successfully from the Apps list. I have no theory why the repository index is either wrong, or I'm using it wrong.

This isn't the first time that I've noticed that an attempt to install from a deb file will fail, while the install from the Apps list succeeds. I am right in guessing that the version in the Apps list must already contain the missing dependencies?
 
Posts: 139 | Thanked: 24 times | Joined on Sep 2005
#62
Originally Posted by DJames1 View Post
This isn't the first time that I've noticed that an attempt to install from a deb file will fail, while the install from the Apps list succeeds. I am right in guessing that the version in the Apps list must already contain the missing dependencies?
No. IIRC the App Manager only does dependency resolving if you install from a repo. In other words if you install .debs you must install the dependencies by hand before that.
 
Posts: 215 | Thanked: 44 times | Joined on Dec 2007
#63
Originally Posted by jussik View Post
No. IIRC the App Manager only does dependency resolving if you install from a repo. In other words if you install .debs you must install the dependencies by hand before that.
So are you saying that if I install an app listed in the Installable Apps list from a repository, the App Manager will attempt to resolve dependencies automatically, even though it doesn't show that it's doing that? But if I install from a .deb file, the App Manager doesn't attempt to resolve dependencies from its repositories?

Why not? Why shouldn't those two situations be equivalent? If the .deb file shows that the app needs library X, and the App Manager has library X listed in one of its repositories, shouldn't it attempt to fetch it and install it? Still trying to understand how dependencies get resolved...
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#64
Originally Posted by DJames1 View Post
So are you saying that if I install an app listed in the Installable Apps list from a repository, the App Manager will attempt to resolve dependencies automatically, even though it doesn't show that it's doing that?
Yes. That's the beauty of the apt-get+debian package system.

But if I install from a .deb file, the App Manager doesn't attempt to resolve dependencies from its repositories?
Again, correct. But read on..

Why not? Why shouldn't those two situations be equivalent? If the .deb file shows that the app needs library X, and the App Manager has library X listed in one of its repositories, shouldn't it attempt to fetch it and install it? Still trying to understand how dependencies get resolved...
The difference between installing from repositories (through the application manager or with apt-get) v.s. installing from .deb is that the former is an online operation while the latter is an offline operation. It will only try to resolve dependencies if you use the online method.

HOWEVER: If you install from a .deb then if there are missing dependencies the package will still be installed (or rather, half-installed), just not completed. The next time you do any kind of online installation it will also at the same time try to resolve any leftover dependency problems from your previous failed .deb install, in other words - if possible, it'll go online and find your missing modules and install them behind your back, so to speak.

HOWEVER2: The above mechanism is how it works if you install your .deb from the command line with 'dpkg -i package.deb' (as root) and you do your repository installations with 'apt-get install package', also from the command line. I haven't checked, but I suspect that it may not work exactly like this when you use the application manager.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.

Last edited by TA-t3; 2008-01-09 at 12:09.
 

The Following User Says Thank You to TA-t3 For This Useful Post:
morrison's Avatar
Posts: 90 | Thanked: 5 times | Joined on Dec 2007
#65
Originally Posted by Scarflash View Post
in xp without security protection, your computer would crash within a week. Thats why i switched my computer to linux derivative. I was simply sick of buying a new hd every time my computer crashed. Now that i have linux on my computer, i dont have to worry about security at all. IMHO Having linux on the n800 is the best thing nokia has done for us tablet owners.
Why would you need to buy a new hard drive every time your computer crashes? The part about xp crashing in a week without security protection - a wild claim and total nonsense. If that happened to you it's because you messed something up yourself.
 
xxM5xx's Avatar
Posts: 354 | Thanked: 93 times | Joined on Oct 2007 @ New York
#66
Originally Posted by Scarflash View Post
in xp without security protection, your computer would crash within a week. Thats why i switched my computer to linux derivative. I was simply sick of buying a new hd every time my computer crashed. Now that i have linux on my computer, i dont have to worry about security at all. IMHO Having linux on the n800 is the best thing nokia has done for us tablet owners.
What you say about WindowsXP unprotected is very true.

I don't understand the hd replacement requirement but the OS will be "hosed" in short order by surfing the Web if you are unaware of the dangerous links out there, and there are many.
 
Moonshine's Avatar
Posts: 469 | Thanked: 88 times | Joined on Sep 2007 @ Montana
#67
Originally Posted by DJames1 View Post
Looks great in theory, but I just tried this repository index to find a missing library (libgdbm3) for installing the 2008 version of Maemo Mapper, and it didn't seem to work. My search found 19 hits in various repositories, but I already had the first few repositories installed in my App Manager. I added the next couple as well, but no help - the missing library did not appear and the install still failed. Finally I gave up trying to install Maemo Mapper from the deb file, since it had appeared in the installable Apps list at some point while adding repositories, and I just added it successfully from the Apps list. I have no theory why the repository index is either wrong, or I'm using it wrong.

This isn't the first time that I've noticed that an attempt to install from a deb file will fail, while the install from the Apps list succeeds. I am right in guessing that the version in the Apps list must already contain the missing dependencies?

It's better then theory IMO . The site routinely visits the repositories, so it should be pretty accurate.

A couple thoughts here though...

First off, I have a feeling you are not in "red pill" mode. Generally that's not a problem. However if you are trying to find/install some specific package is categorized outside the standard "User" categories, it's not going to visible in Application Manager if you aren't. Bascially they try to shield people from seeing everything by just providing a view into User packages (which are generally installable applications.

But that brings me to the confusing part. Really you shouldn't need to install that lib directly if it's a "dependency" for MaemoMapper and you have a repo in your list that contains it. Regardless of wether Application Manager shows you it (red pill) or not, I'm under the assuption it knows about it and would install what is needed and available behind the scenes. At least I've installed apps like Maemo Mapper without specifically installing required libs by themselves. (?)
 
morrison's Avatar
Posts: 90 | Thanked: 5 times | Joined on Dec 2007
#68
Originally Posted by xxM5xx View Post
What you say about WindowsXP unprotected is very true.
According to who, you and the other noob who probably don't know enough about XP and basic computer use that you manage to mess up your own systems in 1 week? Listen, I don't mean to be "upholding" windows xp or in any way insinuating that Linux is not a good OS or anything like that, but your statement above is not only WRONG, it's the speak of people who don't know what they are talking about. Sorry if that sounds a little too direct, but I just hate reading this sort of quick to judge garbage.

Last edited by morrison; 2008-01-10 at 06:11.
 
Posts: 26 | Thanked: 2 times | Joined on Feb 2011
#69
Originally Posted by Scarflash View Post
in xp without security protection, your computer would crash within a week. Thats why i switched my computer to linux derivative. I was simply sick of buying a new hd every time my computer crashed. Now that i have linux on my computer, i dont have to worry about security at all. IMHO Having linux on the n800 is the best thing nokia has done for us tablet owners.
Bull. I've had XP for like 8 years and NEVER had updates, security, firewall etc. Just hijackthis and an occasional(every 6-9mo.) sweep for spyware etc. Like three times in the entire time I've had a compromise and I killed it in task manager and cleaned with hijackthis. The only time you get those viruses and junk is if you get popups(no blocker) that redirect you to some game or porn site with a trojan on it. Or if you have lousy friends that email you viruses. I use my laptop all day and have an always on connection and I never have a problem because I WATCH what the system is doing. If it slows down, I switch to task manager and kill the problem. I love linux, but it's like the Sony Playstation; even if it has problems it's got so much development for it that the ten perrcent of the things that I can't get linux to do means I HAVE to use XP. Of course I keep linux on disc in case my HD crashes. But if you're HD crashes or you get a blue screen that's not from the HD, it's usually your equipment, software, or conflicts with your configuration, all nobody's fault but your own.
 
Posts: 5,795 | Thanked: 3,151 times | Joined on Feb 2007 @ Agoura Hills Calif
#70
You realize you're arguing with a comment made years ago?
__________________
All I want is 40 acres, a mule, and Xterm.
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:18.