View previous topic :: View next topic |
Author |
Message |
NaveenJain n00b
Joined: 06 Jun 2005 Posts: 37
|
Posted: Sat Jun 11, 2005 2:37 am Post subject: Emerge Problems upon first install |
|
|
May be I am not an expert with Portage / emerge yet. I have the Universal CD and the Package CD. Universal CD works but not the packageCD.
Say I do PKGDIR=/mnt/cdrom emerge -k fluxbox it does not work.
when I did DISTDIR=/mnt/cdrom/distfiles -pvuD fluxbox it creates dependicies.
Then when I do
DISTDIR=/mnt/cdrom/distfiles -u fluxbox
I get this message
!!!! File Jpeg81.01.tar.gz is'nt fetched but unable to get it.
I am more inetrested with pppconfig.
This is what I get when I use
DISTDIR=/mnt/cdrom/distfiles -u pppconfig
emerge(1of2) dev-utils/dialog-1.0.20040731orig to 1
.....Adjusting cvs-src permissions for portage user
!!! No write access to /mnt/cdrom/distfiles/
!!!! File dialog-1.0-20040731.orgin.tar.gz is'nt fteched but unable to get it.
I read the manual could not make sense.
Say I spent somuch effort here. Can I actually create a ISO image like Knoppix and install it on my laptop after my installtion is complete?
Thanks,
Naveen |
|
Back to top |
|
|
kabage Guru
Joined: 31 Jan 2005 Posts: 340
|
Posted: Sat Jun 11, 2005 4:15 am Post subject: For DISTDIR |
|
|
Did you mount the cdrom first?
Quote: | DISTDIR=/mnt/cdrom/distfiles -pvuD |
think you mean
Code: | DISTDIR="/mnt/cdrom/distfiles" emerge packageName -pv |
The
p = pretend
v= verbose
u = update
D = Real Deep includes updating package dependencies
If Pretending looks acceptable then to actually emerge it would be
Code: | DISTDIR="/mnt/cdrom/distfiles" emerge packageName |
You shouldn't need an update or update Deep unless your on the net and already have the package installed.
Same thing you would need to mount the cdrom first. _________________ The solutions are easy. Its finding them that is hard. |
|
Back to top |
|
|
NaveenJain n00b
Joined: 06 Jun 2005 Posts: 37
|
Posted: Sat Jun 11, 2005 6:33 am Post subject: |
|
|
Should the PATH between "" quotes DISTDIR="PATH"; I always mount CDROM before emerge.
#mount /mnt/cdrom
mounted /mnt/cdrom
File /mnt/cdrom is write protected only has read access.
I also have the packages CD, where one uses PKGDIR=PATH, I guess now PKGDIR="PATH"
emerge behaves differently with different options, -pvuD does dependency checking, -pv does the same. If I use USE="-X" it does something, I guess USE="-X" -u packagename is the best.
I still get the same error as above with
USE="-X" emerge -u PackageName.
I will try with DISTDIR="PATH" instead of DISTDIR=PATH.
Thanks
NAveen |
|
Back to top |
|
|
kabage Guru
Joined: 31 Jan 2005 Posts: 340
|
Posted: Sat Jun 11, 2005 7:13 am Post subject: All these Variables |
|
|
can be set right in your /etc/make.conf file.
Code: |
PKGDIR="path"
DISTDIR="path"
USE="option -option"
|
Then you dont have to type it each time.
Read up the use flags here http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=2&chap=2
Make sure you know what you want.
When you do an emerge package -pv you will notice what flags the package uses and if they are enabled or disabled (-flag ) is disabled or (flag) is enabled
and for better view is in color also.
Quote: | USE="-X" it does something |
This would DISable any options for xorg, gui stuff for an individual package (unless you put it in /etc/make.conf")
then it would disable gui stuff for any package that may or maynot use X.
Of course some packages like portage, do not use X so if you put USE="X" emerge portage
that would be meaningless to portage. _________________ The solutions are easy. Its finding them that is hard. |
|
Back to top |
|
|
|