Re: [gentoo-user] eclean ... won't

2016-11-20 Thread Константин
On Sun, Nov 20, 2016 at 01:35:46PM +, Peter Humphrey wrote:
> On Sunday 20 Nov 2016 16:05:29 Константин wrote:
> > On Sun, Nov 20, 2016 at 09:42:40AM -0300, Zhu Sha Zang wrote:
> > > Maybe you need to use 'eclean-dist -d'. But, for your safe, use
> > > 'eclean-dist -dp' first.
> >
> > BTW what troubles can I get from 'eclean-dist -d' ? As far as I
> > understand it, re-download needed tar.gz will be the worst isn't it?
>
> You'd think so, wouldn't you? But recently something has been going wrong here
> such that 'eclean-pkg -d' removed every single package, leaving just the
> directory structure. That was just after I'd spent six hours building them
>

Don't take me wrong it was not an objection but just a question. There
are a lot of warnigns, but no explanations except 'users will not be
protected in case they need to downgrade a package or re-install a
previously removed package.' or similar.

And thanks for example.

#kstn



Re: [gentoo-user] eclean ... won't

2016-11-20 Thread Константин
On Sun, Nov 20, 2016 at 09:42:40AM -0300, Zhu Sha Zang wrote:

> Maybe you need to use 'eclean-dist -d'. But, for your safe, use
> 'eclean-dist -dp' first.

BTW what troubles can I get from 'eclean-dist -d' ? As far as I
understand it, re-download needed tar.gz will be the worst isn't it?

#kstn

> On 11/20/2016 08:55 AM, Mick wrote:
> > Hi All,
> >
> > Following an update I just ran:
> >
> > # /usr/bin/eclean-dist
> >   * Building file list for distfiles cleaning...
> >   * Your distfiles directory was already clean.
> >
> > However, looking at source files of firefox as an example I see there are
> > obsolete sources to be gotten rid of:
> >
> > ls -la /usr/portage/distfiles/firefox-45.*
> > -rw-rw-r-- 1 portage portage 22260 Nov 20 03:07
> > /usr/portage/distfiles/firefox-45.0-patches-08.tar.xz
> > -rw-rw-r-- 1 portage portage423871 Sep 20 13:37
> > /usr/portage/distfiles/firefox-45.4.0esr-en-GB.xpi
> > -rw-rw-r-- 1 portage portage 185182396 Sep 20 13:38
> > /usr/portage/distfiles/firefox-45.4.0esr.source.tar.xz
> > -rw-rw-r-- 1 portage portage423871 Nov 15 09:54
> > /usr/portage/distfiles/firefox-45.5.0esr-en-GB.xpi
> > -rw-rw-r-- 1 portage portage 184838132 Nov 15 09:55
> > /usr/portage/distfiles/firefox-45.5.0esr.source.tar.xz
> >
> > If I have firefox-45.5.0 installed, why is firefox-45.4.0esr.source.tar.xz 
> > not
> > removed by eclean?
> >
>
>



Re: [gentoo-user] plain copy of root disk won't work

2016-11-18 Thread Константин
On Fri, Nov 18, 2016 at 04:30:28PM +0100, Raffaele BELARDI wrote:
> I want to move the main disk contents (hda, PATA) to another, larger
> disk (sda, SATA).
>
> hda contains 4 ext3 partitions (root, home, data, swap).
> I created 4 ext3 partitions on sda and copied the data over from the
> corresponding hda partitions using 'cp -ax'.

Didn't you do this from working system on hda? In this case there
really could be troubles with special files etc. Imho live-cd better
for this purpose.

At any case imho it's better to split this task

0. Boot from live-cd.
1. Copy partitions from hda to sda (cp or rsync)
2. Edit fstab on sda.
3. Configure grub on HDA to see hda and sda systems,
4. Try to boot sda.
5. If all is good, configure grub on sda, and change BIOS boot order.

As Canek wrote rsync is great for this task, but beware - last '/' in
'/source/directory/' means!

#kstn