maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   .deb installer to install many .deb files at once or xterminal command needed!(without asking permission every time) (https://talk.maemo.org/showthread.php?t=73356)

raaj13 2011-05-23 16:48

Re: .deb installer to install many many .deb files or xterminal command needed!
 
Quote:

Originally Posted by Radicalz38 (Post 1013604)
1. put all the deb files in a folder
2. download dpkg-dev
3. cd to the deb files folder
4. type dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
5. Type "vi /etc/apt/sources.list.d/hildon-application-manager.list" Enter
6. Insert new line with the ff. "deb file:/path/to/your/deb/files /"
7. apt-get update
Done!
You can do apt-get install <package name> Without internet connection no worries about dependency and stuff.

I think he wants to install all packages at once and not one by one.

nicholes 2011-05-23 17:12

Re: .deb installer to install many many .deb files or xterminal command needed!
 
Yes i want all .deb files installed at one command if possible

( but i will try all things when i falsh my N900, ,,may be in next month)

michaaa62 2011-05-23 18:39

Re: .deb installer to install many many .deb files or xterminal command needed!
 
To get rid of errors because of missing dependencies just run this command until no errors occur any more
Code:

dpkg --configure -a

Radicalz38 2011-05-24 05:52

Re: .deb installer to install many many .deb files or xterminal command needed!
 
Quote:

Originally Posted by raaj13 (Post 1013672)
I think he wants to install all packages at once and not one by one.

but its impossible without knowing their dependencies... Unless you did a apt-get --download-only

jedi 2011-05-24 07:05

Re: .deb installer to install many many .deb files or xterminal command needed!
 
Of all the solutions here, Radicalz38's gets my vote as it will handle all the dependencies well.

Amusing how we got so many ways to do the same thing - that's Linux for you :)

nicholes 2011-07-05 13:52

Re: .deb installer to install many many .deb files or xterminal command needed!
 
Quote:

Originally Posted by Radicalz38 (Post 1013604)
1. put all the deb files in a folder
2. download dpkg-dev
3. cd to the deb files folder
4. type dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
5. Type "vi /etc/apt/sources.list.d/hildon-application-manager.list" Enter
6. Insert new line with the ff. "deb file:/path/to/your/deb/files /"
7. apt-get update
Done!
You can do apt-get install <package name> Without internet connection no worries about dependency and stuff.

how to download dpkg-dev??

i tried apt-get it gives me this

shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # apt-get install dpkg-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package dpkg-dev 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 dpkg-dev has no installation candidate
/home/user #

ivyking 2011-07-05 14:14

Re: .deb installer to install many .deb files at once or xterminal command needed!(without asking permission every time)
 
you can do the following :

sudo gainroot
cd </path/to/files/>
dpkg -i ./*
apt-get -yf install
dpkg -i ./*

you need to be connected to the internet for apt-get to fetch dependencies.

tuxsavvy 2011-07-05 14:29

Re: .deb installer to install many many .deb files or xterminal command needed!
 
Quote:

Originally Posted by nicholes (Post 1045101)
how to download dpkg-dev??

i tried apt-get it gives me this

shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # apt-get install dpkg-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package dpkg-dev 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 dpkg-dev has no installation candidate
/home/user #

Its part of scratchbox SDK (fremantle):
Catalogue name : maemo.org scratchbox SDK
Web address: http://repository.maemo.org
Distribution: fremantle/sdk
Components: free non-free

nicholes 2011-07-05 16:00

Re: .deb installer to install many .deb files at once or xterminal command needed!(without asking permission every time)
 
Quote:

Originally Posted by ivyking (Post 1045118)
you can do the following :

sudo gainroot
cd </path/to/files/>
dpkg -i ./*
apt-get -yf install
dpkg -i ./*

you need to be connected to the internet for apt-get to fetch dependencies.

it worked perfectly and all the .debs installed and visible but i did only

sudo gainroot
cd </path/to/files/>
dpkg -i ./*

not

apt-get -yf install
dpkg -i ./*

Do i need to do ?

apt-get -yf install
dpkg -i ./*
and why?

moudy91 2012-02-15 07:46

Re: .deb installer to install many many .deb files or xterminal command needed!
 
Quote:

Originally Posted by Radicalz38 (Post 1013604)
1. put all the deb files in a folder
2. download dpkg-dev
3. cd to the deb files folder
4. type dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
5. Type "vi /etc/apt/sources.list.d/hildon-application-manager.list" Enter
6. Insert new line with the ff. "deb file:/path/to/your/deb/files /"
7. apt-get update
Done!
You can do apt-get install <package name> Without internet connection no worries about dependency and stuff.

hi sir.

i know this case from long time ago and maybe it was close, but usual i read things new in maemo, and this case did get my attention, because i flash my n900 ever week and all the times i install the usual applications .dep and i want to save them into my phone so i dont want to wait anymore installing them.
so, i did your way but nothing happens, can you help me with this please.
important applications that i need,
wireless-tools
hildon-desktop
orientation lock
openSSH client and server
USSD for all, ussd-widget ( in one package )
please, how can i install them into my n900 without connecting to the internet and and wait application manager to load?
thank you


All times are GMT. The time now is 01:03.

vBulletin® Version 3.8.8