LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2018, 10:25 AM   #1
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 921

Rep: Reputation: 46
apt autoremove hosed encrypted file system


First Thanks to all those who help others on this site. Your help is much appreciated.


I have a laptop that has an encrypted file system with dm-crypt. This laptop runs debian testing (buster)


I applied updates as per normal. There were reported to be 15 or so packages that were not needed anymore by apt.


Knowing that apt lies frequently about what is actually needed in testing I hesitate to just run autoremove as it will sometimes remove software that I use.


In this instance when apt asked me about removing dm-crypt because it may remove my ability to unlock my disk I told it to skip it. It went ahead and remove a dependency anyway with out asking. So I
Code:
 sudo apt -f install
and reinstalled it. But there must have been another dependency that was needed because after a reboot I am never given the prompt to enter the passphrase to unlock the files system, and get dropped to an ash shell.
Code:
(initramfs)
I have no idea how to fix this. So far google has been little help.


Any pointers?
 
Old 11-18-2018, 12:43 PM   #2
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 921

Original Poster
Rep: Reputation: 46
So for giggles I booted my backup kernel and it is able to unlock the disk. But, isn't there always one, my wifi is borked.

So I am guessing that it has something to do with the initramfs that is built on kernel upgrades.

did find that cryptsetup-initramfs was not installed but required by a transitional package that was not installed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get autoremove whittycat Debian 5 09-22-2009 02:13 AM
apt-get autoremove cccc Debian 2 07-26-2009 02:55 PM
apt-get autoremove, LIES!! BigglesPiP Debian 18 01-24-2009 11:22 AM
Significant change caused by apt-get-autoremove, new package, or full disk- which? sonichedgehog Debian 0 02-06-2008 06:36 PM
"apt-get autoremove" in Debian Etch/Sid available? deepclutch Debian 1 12-27-2006 09:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration