Re: [DNG] Backports priority

2017-01-28 Thread Florian Zieboll
On Sat, 28 Jan 2017 14:24:45 +0100
Florian Zieboll  wrote:

> $ mount -o bind /dev "$MESSEDUPROOTFS"/dev
> 
> $ mount -t proc none  "$MESSEDUPROOTFS"/proc
> 
> $ mount -t sysfs none "$MESSEDUPROOTFS"/sys
> 
> $ chroot "$MESSEDUPROOTFS"


I forgot to mention: If you have a separate boot partition, of course
you'd have to mount it into your "$MESSEDUPROOTFS" as well:

$ mount /dev/"$MESSEDUP_BOOT_PARTITION" "$MESSEDUPROOTFS"/boot


f.

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Backports priority

2017-01-28 Thread Florian Zieboll
On Sat, 28 Jan 2017 14:52:51 +0200
Lars Noodén  wrote:

> On 01/28/2017 02:16 PM, Joachim Fahrner wrote:
> > Hello Florian,
> > 
> > 
> > Am 28.01.2017 um 12:33 schrieb Florian Zieboll:  
>  [...]  
> > 
> > I know that, but I was used this is a default in Debian. In Devuan
> > this is not a default, so I accidently upgraded ALL packages :-(  
> 
> That happened to me recently and necessitated doing a fresh
> installation, since the new packages took out the networking and
> bluetooth.  

Hallo Lars,

you probably know that you also could have booted a live-iso with a
kernel from the same branch and then chroot into your messed up system
to do the downgrades:

$ mount -o bind /dev "$MESSEDUPROOTFS"/dev

$ mount -t proc none  "$MESSEDUPROOTFS"/proc

$ mount -t sysfs none "$MESSEDUPROOTFS"/sys

$ chroot "$MESSEDUPROOTFS"


libre Grüße,

Florian

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Backports priority

2017-01-28 Thread Lars Noodén
On 01/28/2017 02:16 PM, Joachim Fahrner wrote:
> Hello Florian,
> 
> 
> Am 28.01.2017 um 12:33 schrieb Florian Zieboll:
>> to avoid accidents like this, I have the following lines in my apt
>> preferences:
>>
>>Package: *
>>Pin: release a=jessie-backports
>>Pin-Priority: 150
> 
> I know that, but I was used this is a default in Debian. In Devuan this
> is not a default, so I accidently upgraded ALL packages :-(

That happened to me recently and necessitated doing a fresh
installation, since the new packages took out the networking and
bluetooth.  I fortunately have the data and system partitions separated
so that was easy ... and I still had the installation CD's ISO-9660
image still cached locally.

So the situation is not necessarily as rare as one might hope.

Regards,
Lars

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Backports priority

2017-01-28 Thread Joachim Fahrner
Hello Florian,


Am 28.01.2017 um 12:33 schrieb Florian Zieboll:
> to avoid accidents like this, I have the following lines in my apt
> preferences:
>
>Package: *
>Pin: release a=jessie-backports
>Pin-Priority: 150
>
>

I know that, but I was used this is a default in Debian. In Devuan this
is not a default, so I accidently upgraded ALL packages :-(

https://wiki.debianforum.de/Backports

/"Man braucht dabei (seit Squeeze) keine Angst mehr vor unerwarteten
Aktualisierungen haben, da keine Backports automatisch installiert
werden"/


-- 
Mit besten Grüßen
Joachim Fahrner

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Backports priority

2017-01-28 Thread Joachim Fahrner
Am 28.01.2017 um 11:08 schrieb Adam Borowski:
> Temporarily bump the priority of stable above 1000, it will downgrade
> everything to that release.
>

Thank you! That works great, except downgrading of mysql-server from 5.6
to 5.5 was not possible. Maybe there is something incompatible in
database format.
After downgrade I had to install mysql-server from backports to make it
work again.

-- 
Mit besten Grüßen
Joachim Fahrner

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Backports priority

2017-01-28 Thread Florian Zieboll
On Sat, 28 Jan 2017 09:58:30 +0100
Joachim Fahrner  wrote:

> Hi,
> 
> I added Devuan backports and now a lot of packages were upgraded to
> the new bpo version. Normally Debian backports should have a priority
> of 100 and should not automatically upgrade. What is wrong here?
> 
> Is there an easy way to downgrade packages to the stable version?


Hallo Joachim, 

to avoid accidents like this, I have the following lines in my apt
preferences:


   florian@nulldevice:~$ cat /etc/apt/preferences.d/avoid-otherrepos 
   
   Package: *
   Pin: release a=jessie-backports
   Pin-Priority: 150
   
   Package: *
   Pin: origin "www.deb-multimedia.org"
   Pin-Priority: 75


See apt_preferences(5), section "How APT Interprets Priorities" for
details.


libre Grüße,

Florian

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Backports priority

2017-01-28 Thread Adam Borowski
On Sat, Jan 28, 2017 at 09:58:30AM +0100, Joachim Fahrner wrote:
> I added Devuan backports and now a lot of packages were upgraded to the
> new bpo version. Normally Debian backports should have a priority of 100
> and should not automatically upgrade. What is wrong here?
> 
> Is there an easy way to downgrade packages to the stable version?

Temporarily bump the priority of stable above 1000, it will downgrade
everything to that release.

-- 
Autotools hint: to do a zx-spectrum build on a pdp11 host, type:
  ./configure --host=zx-spectrum --build=pdp11
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng