Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have ubuntu 10.04
I got 'glpeces_4.1-1_i386.deb'
copied it to /root/glpeces
ran
cd /root ; dpkg-scanpackages glpeces /dev/null | gzip > glpeces/Packages.gz
Added following line to /etc/apt/sources.list.d/local.list
deb file:/root glpeces/
updated & installed
Code:
apt-get update;apt-get install glpeces
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
glpeces
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0B/690kB of archives.
After this operation, 3,514kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
glpeces
Install these packages without verification [y/N]? y
Selecting previously deselected package glpeces.
(Reading database ... 183653 files and directories currently installed.)
Unpacking glpeces (from .../glpeces/glpeces_4.1-1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_IN.cache...
Processing triggers for python-support ...
Setting up glpeces (4.1-1) ...
One shot solution from knudfl . Great !
BTW :
this puzzle is tangram , a brain exercise for spatial orientation .
You will fit all pieces & it would seem last piece is bigger or smaller . Reconstruct & in a few attempts you may succeed.
Here is one i I managed to make from pieces (literally)
Last edited by sumeet inani; 08-25-2011 at 12:56 AM.
If I try to install something which needs extra library etc. (to work properly) then 'dpkg -i' ain't helpful.
I guess it just installs debian file given unless there is conflict irrespective of need of extra libraries.
That is why it is suggested to let 'APT' decide debian file needed .
Last edited by sumeet inani; 08-25-2011 at 03:11 AM.
sudo gdebi kompozer-data_0.8~b1-2_all.deb
#This is dependency of kompozer so independently installable
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Building data structures... Done
kompozer data files
KompoZer is a complete Web Authoring System that
combines web file management and easy-to-use WYSIWYG
(What You See Is What You Get) web page editing.
.
KompoZer is designed to be extremely easy to use,
making it ideal for non-technical computer users
who want to create an attractive, professional-looking
web site without needing to know HTML or web coding.
.
This package install kompozer data files.
Do you want to install the software package? [y/N]:y
Selecting previously deselected package kompozer-data.
(Reading database ... 183982 files and directories currently installed.)
Unpacking kompozer-data (from kompozer-data_0.8~b1-2_all.deb) ...
Setting up kompozer-data (1:0.8~b1-2) ...
sudo apt-get remove kompozer-data
sudo gdebi kompozer_0.8~b1-2_i386.deb
#Here kompozer without its dependency presence fails . As desired .
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Building data structures... Done
The following packages are UNAUTHENTICATED:
kompozer kompozer-data
Requires the installation of the following packages:
kompozer kompozer-data
complete Web Authoring System
KompoZer is a complete Web Authoring System that
combines web file management and easy-to-use WYSIWYG
(What You See Is What You Get) web page editing.
.
KompoZer is designed to be extremely easy to use,
making it ideal for non-technical computer users
who want to create an attractive, professional-looking
web site without needing to know HTML or web coding.
Do you want to install the software package? [y/N]:y
Failed file:/root/ universe/ kompozer-data 1:0.8~b1-2
Failed file:/root/ universe/ kompozer 1:0.8~b1-2
Done downloading
Traceback (most recent call last):
File "/usr/bin/gdebi", line 111, in <module>
debi.install()
File "/usr/lib/python2.6/dist-packages/GDebi/GDebiCli.py", line 123, in install
res = self._cache.commit(fprogress,iprogress)
File "/usr/lib/python2.6/dist-packages/apt/deprecation.py", line 103, in deprecated_function
return func(*args, **kwds)
File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 374, in commit
res = self._fetch_archives(fetcher, pm)
File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 261, in _fetch_archives
return self._run_fetcher(fetcher)
File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 243, in _run_fetcher
raise FetchFailedException(err_msg)
apt.cache.FetchFailedException: Failed to fetch file:/root/pool/universe/k/kompozer/kompozer-data_0.8~b1-2_all.deb File not found
Failed to fetch file:/root/pool/universe/k/kompozer/kompozer_0.8~b1-2_i386.deb File not found
sudo apt-get remove kompozer
#So kompozer was not installed above as shown.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package kompozer is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.