Reply
Thread Tools
Posts: 62 | Thanked: 6 times | Joined on Apr 2010
#21
Originally Posted by michaaa62 View Post
Is wget installed at all?[code]apt-cache policy wget
I get this

/home/user # apt-cache policy wget
wget:
* Installed: 1.10.2-2osso3
* Candidate: 1.10.2-2osso3
* Version table:
*** 1.10.2-2osso3 0
* * * * * * * 500 http://repository.maemo.org fremantle-1.3/free Packages
* * * * * * * 500 http://repository.maemo.org fremantle/free Packages
* * * * * * * 500 http://repository.maemo.org fremantle/free Packages
* * * * * * * 500 http://repository.maemo.org fremantle/free Packages
* * * * * * * 100 /var/lib/dpkg/status
/home/user #
It looks like it is installed.

Then over to the next command:

/home/user # apt-get install --reinstall ndg
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up ndg (2.0.1-5) ...

Downloading jboss-4.2.2.GA.zip... This can take a long time depending on your internet connection. cp: cannot stat 'jboss-4.2.2.GA.zip': No such file or directory

Ack! look at the
/tmp/12580.log
dpkg: error processing ndg (--configure):
subprocess post-installation script returned error exit status 1
wget: unrecognized option `--trust-server-names'
Gebruik: wget [OPTIE]... [URL]...

Probeer 'wget --help' voor meer opties.
Errors were encountered while processing:
ndg
W: Duplicate sources.list entry http://repository.maemo.org fremantle-1.3/free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_free_binary-armel_Packages)
W: Duplicate sources.list entry http://repository.maemo.org fremantle-1.3/non-free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_non-free_binary-armel_Packages)
W: You may want to run apt-get update to correct these problems
E: Sub-process /usr/bin/dpkg returned an error code (1)
/home/user #
Hmmm .. still this wget error

wget: unrecognized option `--trust-server-names'

So what now?


(thanks! for your help sofar)
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#22
wget for maemo does not have the option --trust-server-names, while it is a possible option for the i386 architecture, so the is a bug in the postinst script of the package.
Did you ever check the temporary log in /tmp?

To apply some force to get rid try
Code:
dpkg -r --force-remove-reinstreq ndg

Last edited by michaaa62; 2010-12-29 at 14:09.
 
Posts: 62 | Thanked: 6 times | Joined on Apr 2010
#23
Originally Posted by michaaa62 View Post
wget for maemo does not have the option --trust-server-names, while it is a possible option for the i386 architecture, so the is a bug in the postinst script of the package.
Did you ever check the temporary log in /tmp?

To apply some force to get rid try
Code:
dpkg -r --force-remove-reinstreq ndg
Never checked that log - still a bit of a newbie in Linux ;-)

I did what you suggested, here is the output:

/home/user # dpkg -r --force-remove-reinstreq ndg
(Reading database ... 65650 files and directories currently installed.)
Removing ndg ...
Removing ndg user...Ok
Remove ndg group...Ok
Done
groupdel: cannot remove user's primary group.
/home/user #
Is this OK now (cleaned) ?
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#24
Should be. Try to check with
Code:
apt-cache policy ndg
Still to do: Removed the group for ndg users. Could be
Code:
delgroup ndg
And
Code:
apt-get autoremove
should remove the remainders of the dependencies like mysql-server

Last edited by michaaa62; 2010-12-29 at 16:31.
 
Posts: 62 | Thanked: 6 times | Joined on Apr 2010
#25
Done !

/home/user # apt-cache policy ndg
ndg:
Installed: (none)
Candidate: 2.0.1-5
Version table:
2.0.1-5 0
500 http://repository.maemo.org fremantle/free Packages
100 /var/lib/dpkg/status
2.0.1-4 0
500 http://repository.maemo.org fremantle/free Packages
2.0.1-3 0
500 http://repository.maemo.org fremantle/free Packages
2.0.1-2 0
500 http://repository.maemo.org fremantle/free Packages
2.0.1-1 0
500 http://repository.maemo.org fremantle/free Packages

W: Duplicate sources.list entry http://repository.maemo.org fremantle-1.3/free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_free_binary-armel_Packages)
W: Duplicate sources.list entry http://repository.maemo.org fremantle-1.3/non-free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_non-free_binary-armel_Packages)
Duplicate sources.list?

And

/home/user # delgroup ndg
Removing group `ndg' ...
Klaar.
Tha't OK.

/home/user # apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
/home/user #
1 not upgraded ..

But it looks like it's clean now.
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#26
For the duplicate sources.list entry try to delete the culprits through Hildon Application Manager. Some of these install buttons do echo the repository line into the repo file regardless of earlier entries.
 
Posts: 62 | Thanked: 6 times | Joined on Apr 2010
#27
Originally Posted by michaaa62 View Post
For the duplicate sources.list entry try to delete the culprits through Hildon Application Manager. Some of these install buttons do echo the repository line into the repo file regardless of earlier entries.
I am sorry, but I do not understand that.

How do I identify the 'culprits' ?
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#28
Start Application Manager, Open catalogs, scroll down the list and identify the duplicate entry for the extras repo, checkif it is really the culprit by disabling it, later when you will have checked from the command line with apt-get update, delete it.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 09:49.