maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   I broke my app manager's catalogue -_- (https://talk.maemo.org/showthread.php?t=64952)

gesign 2010-11-02 20:22

I broke my app manager's catalogue -_-
 
When installing rygel through the command line method:http://live.gnome.org/Rygel/N900

I recieved no feedback because I stupidly installed it via the app manager first.... and because of my lack of reading skills the following catalogues have been added:

deb http://www.fatal.se/pub/ah-maemo-repo/ fremantle free non-free
deb-src http://www.fatal.se/pub/ah-maemo-repo/ fremantle free non-free
rygel

and now the app. manager gives me "operation failed" on launch. And "no applications installed" when selecting download or uninstall.

As I am a complete noob in the world of Linux and command lines I have no clue how to fix this..
maybe I can edit the catalogues save file to remove the 3 faulty lines??

thanks for your time,

G

pinkfloyd 2010-11-02 20:44

Re: I broke my app manager's catalogue -_-
 
Open console, gain root and edit this file with nano:
/etc/apt/sources.list.d/hildon-application-manager.list

Paste this lines inside that file:

Code:

deb https://downloads.maemo.nokia.com/fremantle/ssu/apps/ ./
deb https://downloads.maemo.nokia.com/fremantle/ssu/002 ./
deb https://downloads.maemo.nokia.com/fremantle1.2/ovi/ ./
deb http://repository.maemo.org/extras/ fremantle-1.2 free non-free
deb http://repository.maemo.org/extras-testing fremantle free non-free
deb https://downloads.maemo.nokia.com/fremantle/apps/ ./


gesign 2010-11-02 21:47

Re: I broke my app manager's catalogue -_-
 
I got root via: rootsh and typing: sudo gainroot.

launched nano
opened the list
and pasted your lines, did a reboot but still a broken app. manager

In Nano I user ctrl + o to output to the same list, overwriting the file.

after a few reboots and re-editing the above file, checking if I didn't make a mistake, I checked the catalog list within the app. manager and it seems it has just added your supplied lines to the original (corrupt list) :(

WereCatf 2010-11-02 22:02

Re: I broke my app manager's catalogue -_-
 
I too got lots of issues after installing aptitude, then tries to find the issue in console and found out that dpkg (the application that handles actual installation of the files and all that) always failed because aptitude had somehow screwed it up.

Couldn't find any way whatsoever of repairing the situation, nor would it remove aptitude either because it always crashed, even when using "--force-all" to dpkg.

Result: I had to re-flash my phone to get it working again.

gesign 2010-11-02 22:31

Re: I broke my app manager's catalogue -_-
 
But in this case I made a mistake... adding lines to the catalogue without them being valid

WereCatf 2010-11-02 22:34

Re: I broke my app manager's catalogue -_-
 
Quote:

Originally Posted by gesign (Post 861479)
But in this case I made a mistake... adding lines to the catalogue without them being valid

Well, you can just try and become root in terminal and do:
apt-get update

And see what errors it gives.

gesign 2010-11-02 22:40

Re: I broke my app manager's catalogue -_-
 
as expected:

Quote:

E: type 'rygel' is not known on line 5 in source list /etc/apt/sources.list.d/ah-maemo-repo.list
insteresting.... should I edit that file instead????

WereCatf 2010-11-02 23:20

Re: I broke my app manager's catalogue -_-
 
Quote:

Originally Posted by gesign (Post 861493)
as expected:



insteresting.... should I edit that file instead????

Most likely yes: just try removing all lines with "rygel" in them.

gesign 2010-11-03 13:00

Re: I broke my app manager's catalogue -_-
 
is there a way to browse these systems files with my pc?
the small keyboard and screen are getting to me..

tomchiverton 2010-11-03 13:03

Re: I broke my app manager's catalogue -_-
 
Quote:

Originally Posted by gesign (Post 862091)
is there a way to browse these systems files with my pc?
the small keyboard and screen are getting to me..

Sure, install the SSH server on your phone and use an SSH client on your computer. Unfortunately you're stuck at the mo ;-)


All times are GMT. The time now is 05:02.

vBulletin® Version 3.8.8