Bug#1053092: initscripts: cannot upgrade to 3.08-1: APT dependency loop

2023-09-27 Thread Mark Hindley
Martin,

Thanks for this.

On Wed, Sep 27, 2023 at 08:22:33AM +0200, Lorenzo wrote:
> Control: severity -1 whishlist
> 
> Hi,
> 
> On Wed, 27 Sep 2023 08:14:19 +0300
> Martin-Éric Racine  wrote:
> 
> > Kernel: Linux 6.5.0-1-686-pae (SMP w/1 CPU thread; PREEMPT)
> > Kernel taint flags: TAINT_WARN
> > Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8),
> > LANGUAGE=fi:en Shell: /bin/sh linked to /usr/bin/dash
> > Init: systemd (via /run/systemd/system)
> 
> I guess this is the effect of
> 
> https://salsa.debian.org/systemd-team/systemd/-/commit/eecd735541c9d5deb9cebd5f2512e7da8b4368a9
> 
> that adds a conflicts with initscripts. You can remove initscripts or
> reassign to systemd as whishlist, explaining why you need both
> initscripts and systemd-sysv installed.
> 
> Regards,
> Lorenzo
> 
> > Package: initscripts
> > Version: 3.07-1
> > Severity: important
> > 
> > $ LC_ALL=C sudo apt-get --option Debug::pkgDepCache::AutoInstall=true
> > install initscripts Reading package lists... Done
> > Building dependency tree... Done
> > Reading state information... Done
> >Removing: udev:i386 as upgrade is not an option for
> > initscripts:i386 (3.08-1)

I am not sure there is a bug here anyway. there is an ongoing migration of
/etc/init.d/udev from bin:udev to bin:initscripts. src:sysvinit 3.08-1 (which
has taken over the file and breaks/replaces udev << 254.3-1 ) has migrated to
testing[1], however the migration of src:systemd 254.4-1 is blocked by
autopkgtest regressions[2].

Once a suitable version of src:systemd migrates to testing, I think apt will be
able to resolve the dependencies.

Mark

[1]  https://tracker.debian.org/news/1465552/sysvinit-308-1-migrated-to-testing/

[2]  https://qa.debian.org/excuses.php?package=systemd



Bug#1053092: initscripts: cannot upgrade to 3.08-1: APT dependency loop

2023-09-27 Thread Martin-Éric Racine
On Wed, Sep 27, 2023 at 9:22 AM Lorenzo  wrote:
> On Wed, 27 Sep 2023 08:14:19 +0300
> Martin-Éric Racine  wrote:
>
> > Kernel: Linux 6.5.0-1-686-pae (SMP w/1 CPU thread; PREEMPT)
> > Kernel taint flags: TAINT_WARN
> > Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8),
> > LANGUAGE=fi:en Shell: /bin/sh linked to /usr/bin/dash
> > Init: systemd (via /run/systemd/system)
>
> I guess this is the effect of
>
> https://salsa.debian.org/systemd-team/systemd/-/commit/eecd735541c9d5deb9cebd5f2512e7da8b4368a9
>
> that adds a conflicts with initscripts. You can remove initscripts or
> reassign to systemd as whishlist, explaining why you need both
> initscripts and systemd-sysv installed.

I probably don't need both.

What is probably needed is for those packages's priorities (and the
repository's override) to be changed so that APT doesn't go into a
loop it cannot resolve. Also systemd-sysv might need to Provides
initscript for this to succeed.

Martin-Éric



Bug#1053092: initscripts: cannot upgrade to 3.08-1: APT dependency loop

2023-09-27 Thread Lorenzo
Control: severity -1 whishlist

Hi,

On Wed, 27 Sep 2023 08:14:19 +0300
Martin-Éric Racine  wrote:

> Kernel: Linux 6.5.0-1-686-pae (SMP w/1 CPU thread; PREEMPT)
> Kernel taint flags: TAINT_WARN
> Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8),
> LANGUAGE=fi:en Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)

I guess this is the effect of

https://salsa.debian.org/systemd-team/systemd/-/commit/eecd735541c9d5deb9cebd5f2512e7da8b4368a9

that adds a conflicts with initscripts. You can remove initscripts or
reassign to systemd as whishlist, explaining why you need both
initscripts and systemd-sysv installed.

Regards,
Lorenzo

> Package: initscripts
> Version: 3.07-1
> Severity: important
> 
> $ LC_ALL=C sudo apt-get --option Debug::pkgDepCache::AutoInstall=true
> install initscripts Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
>Removing: udev:i386 as upgrade is not an option for
> initscripts:i386 (3.08-1) Installing linux-image-6.5.0-1-686:i386 as
> Depends of linux-image-686:i386 Installing initramfs-tools:i386 as
> Depends of linux-image-6.5.0-1-686:i386 Installing
> linux-image-6.5.0-1-686:i386 as Depends of linux-image-686:i386
> Installing initramfs-tools:i386 as Depends of
> linux-image-6.5.0-1-686:i386 Installing linux-image-6.5.0-1-686:i386
> as Depends of linux-image-686:i386 Installing initramfs-tools:i386 as
> Depends of linux-image-6.5.0-1-686:i386 Installing
> linux-image-6.5.0-1-686:i386 as Depends of linux-image-686:i386
> Installing initramfs-tools:i386 as Depends of
> linux-image-6.5.0-1-686:i386 Installing linux-image-6.5.0-1-686:i386
> as Depends of linux-image-686:i386 Installing initramfs-tools:i386 as
> Depends of linux-image-6.5.0-1-686:i386 Some packages could not be
> installed. This may mean that you have requested an impossible
> situation or if you are using the unstable distribution that some
> required packages have not yet been created or been moved out of
> Incoming. The following information may help to resolve the situation:
> 
> The following packages have unmet dependencies:
>  initramfs-tools : Depends: initramfs-tools-core (= 0.142) but it is
> not going to be installed E: Error, pkgProblemResolver::Resolve
> generated breaks, this may be caused by held packages.
> 
> -- System Information:
> Debian Release: trixie/sid
>   APT prefers testing-debug
>   APT policy: (500, 'testing-debug'), (500, 'testing')
> Architecture: i386 (i686)
> 
> Kernel: Linux 6.5.0-1-686-pae (SMP w/1 CPU thread; PREEMPT)
> Kernel taint flags: TAINT_WARN
> Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8),
> LANGUAGE=fi:en Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> Versions of packages initscripts depends on:
> ii  sysv-rc 3.08-1
> ii  sysvinit-utils  3.08-1
> 
> Versions of packages initscripts recommends:
> ii  e2fsprogs  1.47.0-2+b1
> ii  psmisc 23.6-1
> 
> initscripts suggests no packages.
> 
> -- no debconf information
> 



Bug#1053092: initscripts: cannot upgrade to 3.08-1: APT dependency loop

2023-09-26 Thread Martin-Éric Racine
Package: initscripts
Version: 3.07-1
Severity: important

$ LC_ALL=C sudo apt-get --option Debug::pkgDepCache::AutoInstall=true install 
initscripts
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
   Removing: udev:i386 as upgrade is not an option for initscripts:i386 (3.08-1)
Installing linux-image-6.5.0-1-686:i386 as Depends of linux-image-686:i386
  Installing initramfs-tools:i386 as Depends of linux-image-6.5.0-1-686:i386
Installing linux-image-6.5.0-1-686:i386 as Depends of linux-image-686:i386
  Installing initramfs-tools:i386 as Depends of linux-image-6.5.0-1-686:i386
Installing linux-image-6.5.0-1-686:i386 as Depends of linux-image-686:i386
  Installing initramfs-tools:i386 as Depends of linux-image-6.5.0-1-686:i386
Installing linux-image-6.5.0-1-686:i386 as Depends of linux-image-686:i386
  Installing initramfs-tools:i386 as Depends of linux-image-6.5.0-1-686:i386
Installing linux-image-6.5.0-1-686:i386 as Depends of linux-image-686:i386
  Installing initramfs-tools:i386 as Depends of linux-image-6.5.0-1-686:i386
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 initramfs-tools : Depends: initramfs-tools-core (= 0.142) but it is not going 
to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by 
held packages.

-- System Information:
Debian Release: trixie/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 6.5.0-1-686-pae (SMP w/1 CPU thread; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages initscripts depends on:
ii  sysv-rc 3.08-1
ii  sysvinit-utils  3.08-1

Versions of packages initscripts recommends:
ii  e2fsprogs  1.47.0-2+b1
ii  psmisc 23.6-1

initscripts suggests no packages.

-- no debconf information