Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #196253 > unrolled thread

package won't configure, stuck in queue

Started byCharles Zeitler <cfzeitler@gmail.com>
First post2018-05-30 16:30 +0200
Last post2018-05-31 01:10 +0200
Articles 6 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  package won't configure, stuck in queue Charles Zeitler <cfzeitler@gmail.com> - 2018-05-30 16:30 +0200
    Re: package won't configure, stuck in queue Andy Smith <andy@strugglers.net> - 2018-05-31 00:30 +0200
      Re: package won't configure, stuck in queue Charles Zeitler <cfzeitler@gmail.com> - 2018-05-31 00:50 +0200
        Re: package won't configure, stuck in queue Andy Smith <andy@strugglers.net> - 2018-05-31 00:50 +0200
          Re: package won't configure, stuck in queue Charles Zeitler <cfzeitler@gmail.com> - 2018-05-31 03:00 +0200
    Re: package won't configure, stuck in queue David Wright <deblis@lionunicorn.co.uk> - 2018-05-31 01:10 +0200

#196253 — package won't configure, stuck in queue

FromCharles Zeitler <cfzeitler@gmail.com>
Date2018-05-30 16:30 +0200
Subjectpackage won't configure, stuck in queue
Message-ID<vVagV-1gM-3@gated-at.bofh.it>
recently synaptic pulled in initramfs-tools, as a dependency.

it froze before fully configured, and i killed apt.
now I get the message to do "sudo dpkg --configure -a"
whenever i use apt/synaptic.

when I try "sudo dpkg --configure -a", however, it also freezes before
finishing configuration.

is there some way to remove initramfs-tools from the queue?

thank you
charles zeitler

-- 
 The Perfect Is The Enemy Of
 The Good Enough

[toc] | [next] | [standalone]


#196266

FromAndy Smith <andy@strugglers.net>
Date2018-05-31 00:30 +0200
Message-ID<vVhLr-5BY-3@gated-at.bofh.it>
In reply to#196253
Hi Charles,

On Wed, May 30, 2018 at 09:24:44AM -0500, Charles Zeitler wrote:
> it froze before fully configured, and i killed apt.
> now I get the message to do "sudo dpkg --configure -a"
> whenever i use apt/synaptic.
> 
> when I try "sudo dpkg --configure -a", however, it also freezes before
> finishing configuration.

What happens if you use dpkg -r to remove initramfs-tools and try
installing it again with apt?

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting

[toc] | [prev] | [next] | [standalone]


#196270

FromCharles Zeitler <cfzeitler@gmail.com>
Date2018-05-31 00:50 +0200
Message-ID<vVi4O-5Ih-3@gated-at.bofh.it>
In reply to#196266
thanks.

On Wed, May 30, 2018 at 5:26 PM, Andy Smith <andy@strugglers.net> wrote:
> Hi Charles,
>
> On Wed, May 30, 2018 at 09:24:44AM -0500, Charles Zeitler wrote:
>> it froze before fully configured, and i killed apt.
>> now I get the message to do "sudo dpkg --configure -a"
>> whenever i use apt/synaptic.
>>
>> when I try "sudo dpkg --configure -a", however, it also freezes before
>> finishing configuration.
>
> What happens if you use dpkg -r to remove initramfs-tools and try
> installing it again with apt?

sudo dpkg --dry-run -r initramfs-tools
dpkg: dependency problems prevent removal of initramfs-tools:
 linux-image-4.9.0-6-amd64 depends on initramfs-tools (>=
0.120+deb8u2) | linux-initramfs-tool; however:
  Package initramfs-tools is to be removed.
  Package linux-initramfs-tool is not installed.
  Package initramfs-tools which provides linux-initramfs-tool is to be removed.
 linux-image-4.9.0-6-amd64 depends on initramfs-tools (>=
0.120+deb8u2) | linux-initramfs-tool; however:
  Package initramfs-tools is to be removed.
  Package linux-initramfs-tool is not installed.
  Package initramfs-tools which provides linux-initramfs-tool is to be removed.

dpkg: error processing package initramfs-tools (--remove):
 dependency problems - not removing
Errors were encountered while processing:
 initramfs-tools


>
> Cheers,
> Andy
>
> --
> https://bitfolk.com/ -- No-nonsense VPS hosting
>



-- 
 The Perfect Is The Enemy Of
 The Good Enough

[toc] | [prev] | [next] | [standalone]


#196271

FromAndy Smith <andy@strugglers.net>
Date2018-05-31 00:50 +0200
Message-ID<vVi4O-5Ih-5@gated-at.bofh.it>
In reply to#196270

[Multipart message — attachments visible in raw view] — view raw

Hello,

On Wed, May 30, 2018 at 05:39:58PM -0500, Charles Zeitler wrote:
> sudo dpkg --dry-run -r initramfs-tools
> dpkg: dependency problems prevent removal of initramfs-tools:
>  linux-image-4.9.0-6-amd64 depends on initramfs-tools (>=
> 0.120+deb8u2) | linux-initramfs-tool; however:

To be honest I'd probably be comfortable letting it remove it by
ignoring dependencies. As long as it's installable again right
after, nothing is going to break.

# dpkg --force-depends -r initramfs-tools
# apt install initramfs-tools

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting

[toc] | [prev] | [next] | [standalone]


#196277

FromCharles Zeitler <cfzeitler@gmail.com>
Date2018-05-31 03:00 +0200
Message-ID<vVk6B-6Pe-7@gated-at.bofh.it>
In reply to#196271
On Wed, May 30, 2018 at 5:47 PM, Andy Smith <andy@strugglers.net> wrote:
> Hello,
>
> On Wed, May 30, 2018 at 05:39:58PM -0500, Charles Zeitler wrote:
>> sudo dpkg --dry-run -r initramfs-tools
>> dpkg: dependency problems prevent removal of initramfs-tools:
>>  linux-image-4.9.0-6-amd64 depends on initramfs-tools (>=
>> 0.120+deb8u2) | linux-initramfs-tool; however:
>
> To be honest I'd probably be comfortable letting it remove it by
> ignoring dependencies. As long as it's installable again right
> after, nothing is going to break.
>
> # dpkg --force-depends -r initramfs-tools
> # apt install initramfs-tools
>
> Cheers,
> Andy
>
> --
> https://bitfolk.com/ -- No-nonsense VPS hosting

worked! thank you
charles zeitler

-- 
 The Perfect Is The Enemy Of
 The Good Enough

[toc] | [prev] | [next] | [standalone]


#196273

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2018-05-31 01:10 +0200
Message-ID<vViob-63L-29@gated-at.bofh.it>
In reply to#196253
On Wed 30 May 2018 at 09:24:44 (-0500), Charles Zeitler wrote:
> recently synaptic pulled in initramfs-tools, as a dependency.
> 
> it froze before fully configured, and i killed apt.
> now I get the message to do "sudo dpkg --configure -a"
> whenever i use apt/synaptic.
> 
> when I try "sudo dpkg --configure -a", however, it also freezes before
> finishing configuration.
> 
> is there some way to remove initramfs-tools from the queue?

You could look at   dpkg -l   or   apt-get check
and see whether the problem lies with just the one package.

If there are several, you could try    dpkg --configure
one by one rather than en masse.

You could try reinstalling initramfs-tools with   dpkg -i
(might need force as it's partly done).

One of the configuration steps is    update-initramfs -u
so it might be worth checking if there's a damaged
initrd.img that's causing it to stall.

Cheers,
David.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web