LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-26-2023, 02:16 PM   #1
ZigMa
LQ Newbie
 
Registered: Jan 2023
Posts: 2

Rep: Reputation: 0
Update-initramfs error


I accidentally removed my usr/share directory
And to recover them i use live cd image, but after that i had update initramfs issues about DebLinux.pm did not return a true value at usr/bin/linux version. I can't reinstall perl or any other system packages

Update: seems like it doesn't know about kernel-version, i tried to manipulate/sbin/update-initramfs and replace kernel init version but that's make another error initramfs failed with code 1

Last edited by ZigMa; 01-26-2023 at 03:40 PM.
 
Old 01-27-2023, 07:40 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,879

Rep: Reputation: 7316Reputation: 7316Reputation: 7316Reputation: 7316Reputation: 7316Reputation: 7316Reputation: 7316Reputation: 7316Reputation: 7316Reputation: 7316Reputation: 7316
would be nice to give better details, what did you make exactly and what happened exactly.
We can't help you to fix "another error"...
https://www.catb.org/esr/faqs/smart-...html#beprecise
 
Old 01-28-2023, 12:29 AM   #3
ZigMa
LQ Newbie
 
Registered: Jan 2023
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks, As i said, i copy /usr/share from live cd (kernel 5.10) into my usr/share (kernel 6.1) and update packages but error said /bin/linux-version doesn't send true values to /etc/perl15/DebianLinux.pm . so i can't update-initramfs
 
Old 02-14-2023, 08:59 PM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by ZigMa View Post
I accidentally removed my usr/share directory
And to recover them i use live cd image, but after that i had update initramfs issues about DebLinux.pm did not return a true value at usr/bin/linux version. I can't reinstall perl or any other system packages
Why can't you reinstall packages? What errors are returned?

Evo2.
 
  


Reply



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
sotware raid - don't forget to update your initramfs! garydale Linux - Hardware 1 09-30-2009 04:52 PM
update-initramfs is failing - how can I discover the cause? Mountain Linux - General 1 04-09-2009 05:44 PM
update-initramfs is failing on debian testing upgrade chadwick Linux - General 2 03-28-2008 12:19 AM
update-initramfs -u Geminias Linux - Newbie 1 07-30-2007 04:04 AM
Ubuntu: 6.10: Too many "update-initramfs" lines in update tarobs Ubuntu 5 02-03-2007 07:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:04 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
Open Source Consulting | Domain Registration