#26 Le 13/12/2015, à 23:46
- cqfd93
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
Impec', je reste à l'écoute.
− cqfd93 −
Hors ligne
#27 Le 14/12/2015, à 01:00
- AdOriNew
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
Oups, j'ai éditer mon message précédant, je reprends ici :
adeline@adeline-new:~$ dpkg -l | grep -Ei "linux-headers|linux-image"
ii linux-headers-3.19.0-25 3.19.0-25.26~14.04.1 all Header files related to Linux kernel version 3.19.0
ii linux-headers-3.19.0-25-generic 3.19.0-25.26~14.04.1 i386 Linux kernel headers for version 3.19.0 on 32 bit x86 SMP
ii linux-headers-3.19.0-39 3.19.0-39.44~14.04.1 all Header files related to Linux kernel version 3.19.0
ii linux-headers-3.19.0-39-generic 3.19.0-39.44~14.04.1 i386 Linux kernel headers for version 3.19.0 on 32 bit x86 SMP
ii linux-headers-generic-lts-vivid 3.19.0.39.25 i386 Generic Linux kernel headers
ii linux-image-3.19.0-25-generic 3.19.0-25.26~14.04.1 i386 Linux kernel image for version 3.19.0 on 32 bit x86 SMP
iF linux-image-3.19.0-39-generic 3.19.0-39.44~14.04.1 i386 Linux kernel image for version 3.19.0 on 32 bit x86 SMP
ii linux-image-extra-3.19.0-25-generic 3.19.0-25.26~14.04.1 i386 Linux kernel extra modules for version 3.19.0 on 32 bit x86 SMP
iU linux-image-extra-3.19.0-39-generic 3.19.0-39.44~14.04.1 i386 Linux kernel extra modules for version 3.19.0 on 32 bit x86 SMP
iU linux-image-generic-lts-vivid 3.19.0.39.25 i386 Generic Linux kernel image
iU linux-image-virtual-lts-vivid 3.19.0.39.25 i386 This package will always depend on the latest minimal generic kernel image.
On y est presque, plus de 50% de ii (et en plus j'ai rien cassé
)
Dernière modification par AdOriNew (Le 14/12/2015, à 01:03)
Hors ligne
#28 Le 14/12/2015, à 01:04
- cqfd93
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
C'est déjà nettement plus propre !
On repasse un coup de :
sudo dpkg --configure -a
On y est presque, plus de 50% de ii
(et en plus j'ai rien cassé
)
Et c'est exactement ce que je m'attendais à voir.
− cqfd93 −
Hors ligne
#29 Le 14/12/2015, à 01:06
- AdOriNew
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
adeline@adeline-new:~$ sudo dpkg --configure -a
[sudo] password for adeline:
Paramétrage de linux-image-3.19.0-39-generic (3.19.0-39.44~14.04.1) ...
Running depmod.
Failed to run depmod
dpkg: error processing package linux-image-3.19.0-39-generic (--configure):
le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
dpkg: des problèmes de dépendances empêchent la configuration de linux-image-extra-3.19.0-39-generic :
linux-image-extra-3.19.0-39-generic dépend de linux-image-3.19.0-39-generic ; cependant :
Le paquet linux-image-3.19.0-39-generic n'est pas encore configuré.
dpkg: error processing package linux-image-extra-3.19.0-39-generic (--configure):
problèmes de dépendances - laissé non configuré
dpkg: des problèmes de dépendances empêchent la configuration de linux-image-virtual-lts-vivid :
linux-image-virtual-lts-vivid dépend de linux-image-3.19.0-39-generic ; cependant :
Le paquet linux-image-3.19.0-39-generic n'est pas encore configuré.
dpkg: error processing package linux-image-virtual-lts-vivid (--configure):
problèmes de dépendances - laissé non configuré
dpkg: des problèmes de dépendances empêchent la configuration de linux-image-generic-lts-vivid :
linux-image-generic-lts-vivid dépend de linux-image-3.19.0-39-generic ; cependant :
Le paquet linux-image-3.19.0-39-generic n'est pas encore configuré.
linux-image-generic-lts-vivid dépend de linux-image-extra-3.19.0-39-generic ; cependant :
Le paquet linux-image-extra-3.19.0-39-generic n'est pas encore configuré.
dpkg: error processing package linux-image-generic-lts-vivid (--configure):
problèmes de dépendances - laissé non configuré
dpkg: des problèmes de dépendances empêchent la configuration de linux-generic-lts-vivid :
linux-generic-lts-vivid dépend de linux-image-generic-lts-vivid (= 3.19.0.39.25) ; cependant :
Le paquet linux-image-generic-lts-vivid n'est pas encore configuré.
dpkg: error processing package linux-generic-lts-vivid (--configure):
problèmes de dépendances - laissé non configuré
Des erreurs ont été rencontrées pendant l'exécution :
linux-image-3.19.0-39-generic
linux-image-extra-3.19.0-39-generic
linux-image-virtual-lts-vivid
linux-image-generic-lts-vivid
linux-generic-lts-vivid
Hors ligne
#30 Le 14/12/2015, à 01:23
- cqfd93
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
C'est linux-image-3.19.0-39-generic qui coince.
Donne
cat /var/lib/dpkg/info/linux-image-3.19.0-39-generic.postinst
− cqfd93 −
Hors ligne
#31 Le 14/12/2015, à 01:26
- AdOriNew
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
Euh, est ce normal ? Si oui, alors je nage complet
}
}
if (! $no_symlink && $do_symlink =~ /Yes/i) {
my $Old = $realimageloc;
my $New = $image_dest;
my $Name = "$image_name";
my $Link_Dest = "$kimage";
if ($reverse_symlink) {
$Old = $image_dest;
$New = $realimageloc;
$Name = "$kimage";
$Link_Dest = $realimageloc . "$image_name";
}
if (test_relative ('Old Dir' => $Old,
'New Dir' => $New,
'Test File' => $Name)) {
$Old =~ s|^/*||o;
}
# Special case is they are in the same dir
my $rel_path = spath('Old' => "$Old", 'New' => "$New" );
$Old ="" if $rel_path =~ m/^\s*$/o;
symlink($Old . "$Name", "$Link_Dest") ||
die("Failed to symbolic-link ${Old}$Name to $Link_Dest:$!");
warn "ln -s ${Old}$Name $Link_Dest" if $DEBUG;
}
}
# This routine handles the rest of the cases, where the user has requested
# non-traditional handling, like using cp, or reverse symlinks, or hard links.
sub handle_non_symlinks {
my $kimage = $_[0]; # Name of the symbolic link
my $image_dest = $_[1]; # The directory the links goes into
my $image_name = $_[2];
my $src_dir = $_[3];
warn "handle_non_link: kimage=$kimage, image_dest=$image_dest\n" .
"\t image_name=$image_name, src_dir=$src_dir" if $DEBUG;
# Save the current image. We do this in all four cases
rename("$kimage", "$kimage.$$") ||
die "failed to move " . $image_dest . "$kimage:$!";
warn "mv $kimage $kimage.$$" if $DEBUG;
##,####
# case One
#`####
if ($no_symlink) {
# Maybe /$image_dest is on a dos system?
warn "cp -a --backup=t $realimageloc$image_name $kimage" if $DEBUG;
my $ret = system("cp -a --backup=t " . $realimageloc
. "$image_name " . "$kimage");
if ($ret) {
if (-e "$kimage.$$") {
rename("$kimage.$$", "$kimage");
warn "mv $kimage.$$ $kimage" if $DEBUG;
}
die("Failed to copy " . $realimageloc . "$image_name to "
. $image_dest . "$kimage");
}
}
##,####
# case Two
#`####
elsif ($reverse_symlink) { # Maybe /$image_dest is on a dos system?
warn "mv -f $realimageloc$image_name $kimage" if $DEBUG;
my $ret = system("mv -f " . $realimageloc . "$image_name "
. $image_dest . "$kimage");
if ($ret) {
if (-e "$kimage.$$") {
rename("$kimage.$$", "$kimage");
warn "mv $kimage.$$ $kimage" if $DEBUG;
}
die("Failed to move " . $realimageloc . "$image_name to "
. $image_dest . "$kimage");
}
my $Old = $image_dest;
if (test_relative ('Old Dir' => $Old, 'New Dir' => $realimageloc,
'Test File' => "$kimage")) {
$Old =~ s|^/*||o;
}
# Special case is they are in the same dir
my $rel_path = spath('Old' => "$Old", 'New' => "$realimageloc" );
$Old ="" if $rel_path =~ m/^\s*$/o;
if ($use_hard_links =~ m/YES/i) {
warn "ln " . $Old . "$kimage " . $realimageloc . "$image_name" if $DEBUG;
if (! link($Old . "$kimage", $realimageloc . "$image_name")) {
warn "Could not link " . $image_dest .
"$kimage to $image_name :$!";
}
}
else {
warn "ln -s " . $Old . "$kimage " . $realimageloc . "$image_name" if $DEBUG;
if (! symlink($Old . "$kimage", $realimageloc . "$image_name")) {
warn "Could not symlink " . $image_dest .
"$kimage to $image_name :$!";
}
}
}
##,####
# case Three
#`####
elsif ($use_hard_links =~ m/YES/i ) {
# Ok then. this ought to be a hard link, and hence fair game
# don't clobber $kimage.old quite yet
my $Old = $realimageloc;
my $cwd;
chomp($cwd=`pwd`);
if (test_relative ('Old Dir' => $Old, 'New Dir' => $cwd,
'Test File' => "$image_name")) {
$Old =~ s|^/*||o;
}
# Special case is they are in the same dir
my $rel_path = spath('Old' => "$Old", 'New' => "$cwd" );
$Old ="" if $rel_path =~ m/^\s*$/o;
warn "ln " . $Old . "$image_name " . "$kimage" if $DEBUG;
if (! link($Old . "$image_name", "$kimage")) {
warn "mv $kimage.$$ $kimage" if $DEBUG;
rename("$kimage.$$", "$kimage");
die("Failed to link " . $realimageloc . "$image_name to "
. $image_dest . "$kimage");
}
}
##,####
# case Four
#`####
else {
# We just use cp
warn "cp -a --backup=t $realimageloc$image_name $kimage" if $DEBUG;
my $ret = system("cp -a --backup=t " . $realimageloc
. "$image_name " . "$kimage");
if ($ret) {
if (-e "$kimage.$$") {
warn "mv $kimage.$$ $kimage" if $DEBUG;
rename("$kimage.$$", "$kimage");
}
die("Failed to copy " . $realimageloc . "$image_name to "
. $image_dest . "$kimage");
}
}
# Ok, now we may clobber the previous .old file
warn "mv $kimage.$$ $kimage.old if -e $kimage.$$" if $DEBUG;
rename("$kimage.$$", "$kimage.old") if -e "$kimage.$$";
}
# This routine is responsible for setting up the symbolic links
# So, the actual kernel image lives in
# $realimageloc/$image_name (/boot/vmlinuz-2.6.12).
# This routine creates symbolic links in $image_dest/$kimage (/vmlinuz)
sub image_magic {
my $kimage = $_[0]; # Name of the symbolic link
my $image_dest = $_[1]; # The directory the links goes into
my $image_name = "$kimage-$version";
my $src_dir = $realimageloc;
warn "image_magic: kimage=$kimage, image_dest=$image_dest\n" .
"\t image_name=$image_name, src_dir=$src_dir" if $DEBUG;
# Well, in any case, if the destination (the symlink we are trying
# to create) is a directory, we should do nothing, except throw a
# diagnostic.
if (-d "$kimage" ) {
die ("Hmm. $kimage is a directory, which I did not expect. I am\n" .
"trying to create a symbolic link with that name linked to \n" .
"$image_dest . Since a directory exists here, my assumptions \n" .
"are way off, and I am aborting.\n" );
exit (3);
}
if ($move_image) { # Maybe $image_dest is in on dos, or something?
# source dir, link name, dest dir
really_move_image( $realimageloc, $image_name, $image_dest);
really_reverse_link($realimageloc, $image_name, $image_dest)
if $reverse_symlink;
return;
}
if (-l "$kimage") { # There is a symbolic link
warn "DEBUG: There is a symlink for $kimage\n" if $DEBUG;
my $force_move = move_p($kimage, $image_dest, $image_name, $src_dir);
if ($force_move) {
really_move_link($kimage, $image_dest, $image_name, $src_dir);
}
}
elsif (! -e "$kimage") {
# Hmm. Pristine system? How can that be? Installing from scratch?
# Or maybe the user does not want a symbolic link here.
# Possibly they do not want a link here. (we should be in /
# here[$image_dest, really]
handle_missing_link($kimage, $image_dest, $image_name, $src_dir);
}
elsif (-e "$kimage" ) {
# OK, $kimage exists -- but is not a link
handle_non_symlinks($kimage, $image_dest, $image_name, $src_dir);
}
}
######################################################################
######################################################################
######################################################################
######################################################################
# We may not have any modules installed
if ( -d "$modules_base/$version" ) {
print STDERR "Running depmod.\n";
my $ret = system("depmod -a $version");
if ($ret) {
print STDERR "Failed to run depmod\n";
exit(1);
}
}
sub find_initrd_tool {
my $hostversion = shift;
my $version = shift;
print STDERR "Finding valid ramdisk creators.\n";
my @ramdisks =
grep {
my $args =
"$_ " .
"--supported-host-version=$hostversion " .
"--supported-target-version=$version " .
"1>/dev/null 2>&1"
;
system($args) == 0;
}
split (/[:,\s]+/, $ramdisk);
}
# The initrd symlink should probably be in the same dir that the
# symlinks are in
if ($initrd) {
my $success = 0;
# Update-initramfs is called slightly different than mkinitrd and
# mkinitramfs. XXX It should really be made compatible with this stuff
# some how.
my $upgrading = 1;
if (! defined $ARGV[1] || ! $ARGV[1] || $ARGV[1] =~ m/<unknown>/og) {
$upgrading = 0;
}
my $ret = system("$ramdisk " . ($upgrading ? "-u" : "-c") . " -k " . $version . " >&2");
$success = 1 unless $ret;
die "Failed to create initrd image.\n" unless $success;
if (! defined $ARGV[1] || ! $ARGV[1] || $ARGV[1] =~ m/<unknown>/og) {
image_magic("initrd.img", $image_dest);
}
else {
if (! -e "initrd.img") {
handle_missing_link("initrd.img", $image_dest, "initrd.img-$version",
$realimageloc);
}
else {
print STDERR
"Not updating initrd symbolic links since we are being updated/reinstalled \n";
print STDERR
"($ARGV[1] was configured last, according to dpkg)\n";
}
}
if ($initrd && -l "initrd" ) {
unlink "initrd";
}
if ($initrd && -l "$image_dir/initrd" && ! $link_in_boot) {
unlink "$image_dir/initrd";
}
}
else { # Not making an initrd emage
if (-l "initrd.img") {
# Ooh, last image was an initrd image? in any case, we should move it.
my $target = readlink "initrd.img";
my $real_target = '';
$real_target = abs_path($target) if defined ($target);
if (!defined($target) || ! -f "$real_target") {
# Eh. dangling link. can safely be removed.
unlink("initrd.img");
} else {
if (-l "initrd.img.old" || ! -e "initrd.img.old" ) {
rename("initrd.img", "initrd.img.old");
} else {
warn "initrd.img.old is not a symlink, not clobbering\n";
unlink("initrd.img");
}
}
}
}
# Warn of a reboot
if (-x $notifier) {
system($notifier);
}
# Let programs know not to hibernate if the kernel that would be used for
# resume-from-hibernate is likely to differ from the currently running kernel.
system("mountpoint -q /var/run");
if ($? eq 0) {
system("touch /var/run/do-not-hibernate");
}
# Only change the symlinks if we are not being upgraded
if (! defined $ARGV[1] || ! $ARGV[1] || $ARGV[1] =~ m/<unknown>/og) {
image_magic($kimage, $image_dest);
}
else {
if (! -e "$kimage") {
handle_missing_link($kimage, $image_dest, "$kimage-$version",
$realimageloc);
}
else {
print STDERR
"Not updating image symbolic links since we are being updated/reinstalled \n";
print STDERR
"($ARGV[1] was configured last, according to dpkg)\n";
}
}
# We used to have System.* files in /
if (-e "/System.map" || -e "/System.old") {
unlink '/System.map' if -e '/System.map';
unlink '/System.old' if -e '/System.old';
}
# creating some info about kernel and initrd
if ($DEBUG) {
my $ksize=sprintf("%.0f",(stat($realimageloc .
"$kimage-$version"))[7]/1024)."kB";
my $initrdsize='';
if ($initrd) {
$initrdsize=sprintf("%.0f",(stat($realimageloc .
"initrd.img-$version"))[7]/1024)."kB";
}
print STDERR <<"EOMSG";
A new kernel image has been installed at $realimageloc$kimage-$version
(Size: $ksize)
Symbolic links, unless otherwise specified, can be found in $image_dest
EOMSG
;
if ($initrd) {
print STDERR <<"EOMSGA";
Initial rootdisk image: ${realimageloc}initrd.img-$version (Size: $initrdsize)
EOMSGA
;
}
}
# set the env var stem
$ENV{'STEM'} = "linux";
sub exec_script {
my $type = shift;
my $script = shift;
print STDERR "Running $type hook script $script.\n";
system ("$script $version $realimageloc$kimage-$version") &&
print STDERR "User $type hook script [$script] ";
if ($?) {
if ($? == -1) {
print STDERR "failed to execute: $!\n";
}
elsif ($? & 127) {
printf STDERR "died with signal %d, %s coredump\n",
($? & 127), ($? & 128) ? 'with' : 'without';
}
else {
printf STDERR "exited with value %d\n", $? >> 8;
}
exit $? >> 8;
}
}
sub run_hook {
my $type = shift;
my $script = shift;
if ($script =~ m,^/,) {
# Full path provided for the hook script
if (-x "$script") {
&exec_script($type,$script);
}
else {
die "The provided $type hook script [$script] could not be run.\n";
}
}
else {
# Look for it in a safe path
for my $path ('/bin', '/sbin', '/usr/bin', '/usr/sbin') {
if (-x "$path/$script") {
&exec_script($type, "$path/$script");
return 0;
}
}
# No luck
print STDERR "Could not find $type hook script [$script].\n";
die "Looked in: '/bin', '/sbin', '/usr/bin', '/usr/sbin'\n";
}
}
my $options;
for (@ARGV) {
s,','\\'',g;
$options .= " '$_'";
}
$ENV{'DEB_MAINT_PARAMS'}="$options";
## Run user hook script here, if any
if ($postinst_hook) {
&run_hook("postinst", $postinst_hook);
}
if (-d "/etc/kernel/postinst.d") {
print STDERR "Examining /etc/kernel/postinst.d.\n";
system ("run-parts --verbose --exit-on-error --arg=$version " .
"--arg=$realimageloc$kimage-$version " .
"/etc/kernel/postinst.d") &&
die "Failed to process /etc/kernel/postinst.d";
}
if (-d "/etc/kernel/postinst.d/$version") {
print STDERR "Examining /etc/kernel/postinst.d/$version.\n";
system ("run-parts --verbose --exit-on-error --arg=$version " .
"--arg=$realimageloc$kimage-$version " .
"/etc/kernel/postinst.d/$version") &&
die "Failed to process /etc/kernel/postinst.d/$version";
}
LOADER: {
last unless $do_boot_enable; # Exit if explicitly asked to
last if $loader =~ /silo/i; # SILO does not have to be executed.
last if $loader =~ /yaboot/i; # yaboot does not have to be executed.
last if $loader =~ /milo/i; # MILO does not have to be executed.
last if $loader =~ /nettrom/i; # NETTROM does not have to be executed.
last if $loader =~ /arcboot/i; # ARCBOOT does not have to be executed.
last if $loader =~ /delo/i; # DELO does not have to be executed.
last if $loader =~ /quik/i; # maintainer asked quik invocation to be ignored
last unless $loaderloc;
last unless -x $loaderloc;
last unless $do_bootloader;
if (-T "/etc/$loader.conf") {
# Trust and use the existing lilo.conf.
print STDERR "You already have a $Loader configuration in /etc/$loader.conf\n";
my $ret = &run_lilo();
exit $ret if $ret;
}
}
sub run_lilo (){
my $ret;
# Try and figure out if the user really wants lilo to be run --
# since the default is to run the boot laoder, which is ! grub -- but
# the user may be using grub now, and not changed the default.
# So, if the user has explicitly asked for the loader to be run, or
# if there is no postinst hook, or if there is no grub installed --
# we are OK. Or else, we ask.
if ($explicit_do_loader || (! ($postinst_hook && -x '/usr/sbin/grub'))) {
print STDERR "Running boot loader as requested\n";
} else {
print STDERR "Ok, not running $loader\n";
}
if ($loader =~ /^lilo/io or $loader =~ /vmelilo/io) {
print STDERR "Testing $loader.conf ... \n";
unlink $temp_file_name; # security
$ret = system("$loaderloc -t >$temp_file_name 2>&1");
if ($ret) {
print STDERR "Boot loader test failed\n";
return $ret;
}
unlink "$temp_file_name";
print STDERR "Testing successful.\n";
print STDERR "Installing the ";
print STDERR "partition " if $loader =~ /^lilo/io;
print STDERR "boot sector... \n";
}
print STDERR "Running $loaderloc ... \n";
if ($loader =~ /^elilo/io) {
$ret = system("$loaderloc 2>&1 | tee $temp_file_name");
} else {
$ret = system("$loaderloc >$temp_file_name 2>&1");
}
if ($ret) {
print STDERR "Boot loader failed to run\n";
return $ret;
}
unlink $temp_file_name;
print STDERR "Installation successful.\n";
return 0;
}
exit 0;
__END__
Hors ligne
#32 Le 14/12/2015, à 01:44
- cqfd93
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
Euh, est ce normal ? Si oui, alors je nage complet
C'est normal et ça ne m'avance pas vraiment
On va essayer un autre chemin passant par le fichier /var/lib/dpkg/status.
On vérifie la présence de /var/lib/dpkg/status-old
ls /var/lib/dpkg/status*
Si ça te donne la même chose que chez moi c'est-à-dire
moi@aurore:~$ ls /var/lib/dpkg/status*
/var/lib/dpkg/status /var/lib/dpkg/status-old
on va pouvoir renommer le /var/lib/dpkg/status en /var/lib/dpkg/status.mauvais et /var/lib/dpkg/status-old en /var/lib/dpkg/status (les chaises musicales en quelque sorte) :
cd /var/lib/dpkg/
sudo mv status status.mauvais
sudo mv status-old status
Et encore un coup de
sudo dpkg --configure -a
et s'il n'y a pas d'erreur (on croise les doigts) :
sudo apt-get update
sudo apt-get dist-upgrade
Edit : correction d'une faute de frappe
Dernière modification par cqfd93 (Le 14/12/2015, à 01:55)
− cqfd93 −
Hors ligne
#33 Le 14/12/2015, à 01:47
- AdOriNew
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
alors voilà ce que ça me donne :
adeline@adeline-new:~$ ls /var/lib/dpkg/status*
/var/lib/dpkg/status /var/lib/dpkg/status-old
adeline@adeline-new:~$ cd /var/lib/dpkg/
adeline@adeline-new:/var/lib/dpkg$ sudo mv status status.mauvais
[sudo] password for adeline:
adeline@adeline-new:/var/lib/dpkg$ sudo mv status.old status
mv: impossible d'évaluer «status.old»: Aucun fichier ou dossier de ce type
Du coup, je me suis arrêté là. Je continue quand même ?
aaah, c'est pas un - au lieu du point ?
Dernière modification par AdOriNew (Le 14/12/2015, à 01:49)
Hors ligne
#34 Le 14/12/2015, à 01:53
- cqfd93
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
Oops ! c'est
sudo mv status-old status
Et tu continues !
− cqfd93 −
Hors ligne
#35 Le 14/12/2015, à 01:57
- AdOriNew
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
On était trop près du but, c'était trop beau
adeline@adeline-new:~$ ls /var/lib/dpkg/status*
/var/lib/dpkg/status /var/lib/dpkg/status.mauvais /var/lib/dpkg/status-old
adeline@adeline-new:~$ cd /var/lib/dpkg/
adeline@adeline-new:/var/lib/dpkg$ sudo mv status status.mauvais
[sudo] password for adeline:
adeline@adeline-new:/var/lib/dpkg$ sudo mv status-old status
adeline@adeline-new:/var/lib/dpkg$ sudo dpkg --configure -a
Paramétrage de linux-image-3.19.0-39-generic (3.19.0-39.44~14.04.1) ...
Running depmod.
Failed to run depmod
dpkg: error processing package linux-image-3.19.0-39-generic (--configure):
le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
dpkg: des problèmes de dépendances empêchent la configuration de linux-image-extra-3.19.0-39-generic :
linux-image-extra-3.19.0-39-generic dépend de linux-image-3.19.0-39-generic ; cependant :
Le paquet linux-image-3.19.0-39-generic n'est pas encore configuré.
dpkg: error processing package linux-image-extra-3.19.0-39-generic (--configure):
problèmes de dépendances - laissé non configuré
dpkg: des problèmes de dépendances empêchent la configuration de linux-image-virtual-lts-vivid :
linux-image-virtual-lts-vivid dépend de linux-image-3.19.0-39-generic ; cependant :
Le paquet linux-image-3.19.0-39-generic n'est pas encore configuré.
dpkg: error processing package linux-image-virtual-lts-vivid (--configure):
problèmes de dépendances - laissé non configuré
dpkg: des problèmes de dépendances empêchent la configuration de linux-image-generic-lts-vivid :
linux-image-generic-lts-vivid dépend de linux-image-3.19.0-39-generic ; cependant :
Le paquet linux-image-3.19.0-39-generic n'est pas encore configuré.
linux-image-generic-lts-vivid dépend de linux-image-extra-3.19.0-39-generic ; cependant :
Le paquet linux-image-extra-3.19.0-39-generic n'est pas encore configuré.
dpkg: error processing package linux-image-generic-lts-vivid (--configure):
problèmes de dépendances - laissé non configuré
dpkg: des problèmes de dépendances empêchent la configuration de linux-generic-lts-vivid :
linux-generic-lts-vivid dépend de linux-image-generic-lts-vivid (= 3.19.0.39.25) ; cependant :
Le paquet linux-image-generic-lts-vivid n'est pas encore configuré.
dpkg: error processing package linux-generic-lts-vivid (--configure):
problèmes de dépendances - laissé non configuré
Des erreurs ont été rencontrées pendant l'exécution :
linux-image-3.19.0-39-generic
linux-image-extra-3.19.0-39-generic
linux-image-virtual-lts-vivid
linux-image-generic-lts-vivid
linux-generic-lts-vivid
adeline@adeline-new:/var/lib/dpkg$
Et si on supprimait ce noyau comme les précédants, par le synaptic, ça risquerait de ne plus fonctionner, c'est ça ?
Dernière modification par AdOriNew (Le 14/12/2015, à 02:02)
Hors ligne
#36 Le 14/12/2015, à 02:10
- cqfd93
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
Alors on va remettre le fichier status comme avant.
cd /var/lib/dpkg/
sudo mv status status-old
sudo mv status.mauvais status
une dernière tentative de configuration forcée
sudo dpkg --force-all --configure -a
Je prépare autre chose pour le cas où.
− cqfd93 −
Hors ligne
#37 Le 14/12/2015, à 02:19
- cqfd93
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
Et si on supprimait ce noyau comme les précédants, par le synaptic, ça risquerait de ne plus fonctionner, c'est ça ?
Je viens juste de voir ta question. Après tout, pourquoi pas ? Tu le désinstalles comme tu as fait pour les autres et tu essayes de le réinstaller.
− cqfd93 −
Hors ligne
#38 Le 14/12/2015, à 02:20
- AdOriNew
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
Voilà la réponse :
adeline@adeline-new:~$ cd /var/lib/dpkg/
adeline@adeline-new:/var/lib/dpkg$ sudo mv status status-old
[sudo] password for adeline:
adeline@adeline-new:/var/lib/dpkg$ sudo mv status.mauvais status
adeline@adeline-new:/var/lib/dpkg$ sudo dpkg --force-all --configure -a
Paramétrage de linux-image-3.19.0-39-generic (3.19.0-39.44~14.04.1) ...
Running depmod.
Failed to run depmod
dpkg: error processing package linux-image-3.19.0-39-generic (--configure):
le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
dpkg: linux-image-extra-3.19.0-39-generic : problèmes de dépendances, mais configuration comme demandé :
linux-image-extra-3.19.0-39-generic dépend de linux-image-3.19.0-39-generic ; cependant :
Le paquet linux-image-3.19.0-39-generic n'est pas encore configuré.
Paramétrage de linux-image-extra-3.19.0-39-generic (3.19.0-39.44~14.04.1) ...
Bus error (core dumped)
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.19.0-39-generic /boot/vmlinuz-3.19.0-39-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.19.0-39-generic /boot/vmlinuz-3.19.0-39-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/ndiswrapper-dkms.0.crash'
Error! Bad return status for module build on kernel: 3.19.0-39-generic (i686)
Consult /var/lib/dkms/ndiswrapper/1.59/build/make.log for more information.
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/bcmwl-kernel-source.0.crash'
Error! Bad return status for module build on kernel: 3.19.0-39-generic (i686)
Consult /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/make.log for more information.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.19.0-39-generic /boot/vmlinuz-3.19.0-39-generic
update-initramfs: Generating /boot/initrd.img-3.19.0-39-generic
Bus error (core dumped)
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.19.0-39-generic /boot/vmlinuz-3.19.0-39-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.19.0-39-generic /boot/vmlinuz-3.19.0-39-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.19.0-39-generic /boot/vmlinuz-3.19.0-39-generic
Création du fichier de configuration GRUB…
Attention : Définir GRUB_TIMEOUT à une valeur non nulle si GRUB_HIDDEN_TIMEOUT est définie n’est plus possible.
Image Linux trouvée : /boot/vmlinuz-3.19.0-39-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-39-generic
Image Linux trouvée : /boot/vmlinuz-3.19.0-25-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-25-generic
Found iPXE image: /boot/ipxe.lkrn
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
fait
dpkg: linux-image-virtual-lts-vivid : problèmes de dépendances, mais configuration comme demandé :
linux-image-virtual-lts-vivid dépend de linux-image-3.19.0-39-generic ; cependant :
Le paquet linux-image-3.19.0-39-generic n'est pas encore configuré.
Paramétrage de linux-image-virtual-lts-vivid (3.19.0.39.25) ...
dpkg: linux-generic-lts-vivid : problèmes de dépendances, mais configuration comme demandé :
linux-generic-lts-vivid dépend de linux-image-generic-lts-vivid (= 3.19.0.39.25).
Paramétrage de linux-generic-lts-vivid (3.19.0.39.25) ...
dpkg: linux-image-generic-lts-vivid : problèmes de dépendances, mais configuration comme demandé :
linux-image-generic-lts-vivid dépend de linux-image-3.19.0-39-generic ; cependant :
Le paquet linux-image-3.19.0-39-generic n'est pas encore configuré.
Paramétrage de linux-image-generic-lts-vivid (3.19.0.39.25) ...
Des erreurs ont été rencontrées pendant l'exécution :
linux-image-3.19.0-39-generic
Hors ligne
#39 Le 14/12/2015, à 02:22
- cqfd93
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
Essaye avec synaptic (c'est linux-image-3.19.0-39-generic)
− cqfd93 −
Hors ligne
#40 Le 14/12/2015, à 02:23
- cqfd93
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
Faut pas croire, mais on va finir par lui faire la peau !
− cqfd93 −
Hors ligne
#41 Le 14/12/2015, à 02:27
- AdOriNew
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
Ah ben j'espère bien, je le sélectionne pour "suppression complète" ? Et il me demande si je veux supprimer aussi "ses noyaux rattachés"
Dernière modification par AdOriNew (Le 14/12/2015, à 02:30)
Hors ligne
#42 Le 14/12/2015, à 02:33
- cqfd93
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
Alors essaye suppression normale (= pas complète)
− cqfd93 −
Hors ligne
#43 Le 14/12/2015, à 02:42
- AdOriNew
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
... Bon, ca marche encore ! Ça a bien été effectué apparemment ...
Hors ligne
#44 Le 14/12/2015, à 02:45
- cqfd93
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
Est-ce que tu as pu le réinstaller ? Si oui :
sudo apt update
sudo apt upgrade
sudo apt full-upgrade
− cqfd93 −
Hors ligne
#45 Le 14/12/2015, à 02:45
- AdOriNew
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
réinstaller ?
Hors ligne
#46 Le 14/12/2015, à 02:47
- cqfd93
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
Le linux-image-3.19.0-39-generic que tu viens de supprimer et que je te suggérais de réinstaller avec synaptic
− cqfd93 −
Hors ligne
#47 Le 14/12/2015, à 02:57
- AdOriNew
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
J'ai pu réinstaller et j'ai fais ce qui suis ensuite. En revanche, je n'ai pas encore fait l'apt full upgrade, j'attends ta réponse
adeline@adeline-new:~$ sudo apt update
[sudo] password for adeline:
Atteint http://security.ubuntu.com trusty-security InRelease
Ign http://extras.ubuntu.com trusty InRelease
Ign http://fr.archive.ubuntu.com trusty InRelease
Atteint http://extras.ubuntu.com trusty Release.gpg
Réception de : 1 http://fr.archive.ubuntu.com trusty-updates InRelease [64,4 kB]
Atteint http://extras.ubuntu.com trusty Release
Atteint http://security.ubuntu.com trusty-security/main Sources
Atteint http://extras.ubuntu.com trusty/main Sources
Atteint http://security.ubuntu.com trusty-security/restricted Sources
Atteint http://extras.ubuntu.com trusty/main i386 Packages
Atteint http://fr.archive.ubuntu.com trusty-backports InRelease
Atteint http://security.ubuntu.com trusty-security/universe Sources
Atteint http://fr.archive.ubuntu.com trusty Release.gpg
Atteint http://security.ubuntu.com trusty-security/multiverse Sources
Réception de : 2 http://fr.archive.ubuntu.com trusty-updates/main Sources [247 kB]
Atteint http://security.ubuntu.com trusty-security/main i386 Packages
Atteint http://security.ubuntu.com trusty-security/restricted i386 Packages
Atteint http://security.ubuntu.com trusty-security/universe i386 Packages
Atteint http://security.ubuntu.com trusty-security/multiverse i386 Packages
Atteint http://security.ubuntu.com trusty-security/main Translation-en
Atteint http://security.ubuntu.com trusty-security/multiverse Translation-en
Atteint http://security.ubuntu.com trusty-security/restricted Translation-en
Réception de : 3 http://fr.archive.ubuntu.com trusty-updates/restricted Sources [5 359 B]
Atteint http://security.ubuntu.com trusty-security/universe Translation-en
Réception de : 4 http://fr.archive.ubuntu.com trusty-updates/universe Sources [145 kB]
Ign http://extras.ubuntu.com trusty/main Translation-fr_FR
Ign http://extras.ubuntu.com trusty/main Translation-fr
Ign http://extras.ubuntu.com trusty/main Translation-en
Réception de : 5 http://fr.archive.ubuntu.com trusty-updates/multiverse Sources [5 167 B]
Réception de : 6 http://fr.archive.ubuntu.com trusty-updates/main i386 Packages [643 kB]
Réception de : 7 http://fr.archive.ubuntu.com trusty-updates/restricted i386 Packages [15,6 kB]
Réception de : 8 http://fr.archive.ubuntu.com trusty-updates/universe i386 Packages [333 kB]
Réception de : 9 http://fr.archive.ubuntu.com trusty-updates/multiverse i386 Packages [13,2 kB]
Réception de : 10 http://fr.archive.ubuntu.com trusty-updates/main Translation-en [329 kB]
Réception de : 11 http://fr.archive.ubuntu.com trusty-updates/multiverse Translation-en [6 832 B]
Réception de : 12 http://fr.archive.ubuntu.com trusty-updates/restricted Translation-en [3 699 B]
Réception de : 13 http://fr.archive.ubuntu.com trusty-updates/universe Translation-en [174 kB]
Atteint http://fr.archive.ubuntu.com trusty Release
Atteint http://fr.archive.ubuntu.com trusty-backports/main Sources
Atteint http://fr.archive.ubuntu.com trusty-backports/restricted Sources
Atteint http://fr.archive.ubuntu.com trusty-backports/universe Sources
Atteint http://fr.archive.ubuntu.com trusty-backports/multiverse Sources
Atteint http://fr.archive.ubuntu.com trusty-backports/main i386 Packages
Atteint http://fr.archive.ubuntu.com trusty-backports/restricted i386 Packages
Atteint http://fr.archive.ubuntu.com trusty-backports/universe i386 Packages
Atteint http://fr.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Atteint http://fr.archive.ubuntu.com trusty-backports/main Translation-en
Atteint http://fr.archive.ubuntu.com trusty-backports/multiverse Translation-en
Atteint http://fr.archive.ubuntu.com trusty-backports/restricted Translation-en
Atteint http://fr.archive.ubuntu.com trusty-backports/universe Translation-en
Atteint http://fr.archive.ubuntu.com trusty/main Sources
Atteint http://fr.archive.ubuntu.com trusty/restricted Sources
Atteint http://fr.archive.ubuntu.com trusty/universe Sources
Atteint http://fr.archive.ubuntu.com trusty/multiverse Sources
Atteint http://fr.archive.ubuntu.com trusty/main i386 Packages
Atteint http://fr.archive.ubuntu.com trusty/restricted i386 Packages
Atteint http://fr.archive.ubuntu.com trusty/universe i386 Packages
Atteint http://fr.archive.ubuntu.com trusty/multiverse i386 Packages
Atteint http://fr.archive.ubuntu.com trusty/main Translation-fr
Atteint http://fr.archive.ubuntu.com trusty/main Translation-en
Atteint http://fr.archive.ubuntu.com trusty/multiverse Translation-fr
Atteint http://fr.archive.ubuntu.com trusty/multiverse Translation-en
Atteint http://fr.archive.ubuntu.com trusty/restricted Translation-fr
Atteint http://fr.archive.ubuntu.com trusty/restricted Translation-en
Atteint http://fr.archive.ubuntu.com trusty/universe Translation-fr
Atteint http://fr.archive.ubuntu.com trusty/universe Translation-en
Ign http://fr.archive.ubuntu.com trusty/main Translation-fr_FR
Ign http://fr.archive.ubuntu.com trusty/multiverse Translation-fr_FR
Ign http://fr.archive.ubuntu.com trusty/restricted Translation-fr_FR
Ign http://fr.archive.ubuntu.com trusty/universe Translation-fr_FR
1 986 ko réceptionnés en 13s (148 ko/s)
Lecture des listes de paquets... Fait
adeline@adeline-new:~$ sudo apt upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
libc-ares2 libdumbnet1 libsmi2ldbl libtcl8.5 libwireshark-data libwireshark3
libwiretap3 libwsutil3 linux-headers-generic-lts-vivid tcl8.5 thermald
Veuillez utiliser « apt-get autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour
Hors ligne
#48 Le 14/12/2015, à 03:01
- cqfd93
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
Feu vert pour le full-upgrade !
− cqfd93 −
Hors ligne
#49 Le 14/12/2015, à 03:03
- AdOriNew
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
Et voilà :
adeline@adeline-new:~$ sudo apt full-upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
libc-ares2 libdumbnet1 libsmi2ldbl libtcl8.5 libwireshark-data libwireshark3
libwiretap3 libwsutil3 linux-headers-generic-lts-vivid tcl8.5 thermald
Veuillez utiliser « apt-get autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
Bon, et maintenant, je peux avoir la wifi, télécharger openshot et audacity et avoir une chance de finir mon projet avant noël tu crois ?
Hors ligne
#50 Le 14/12/2015, à 03:08
- cqfd93
Re : [RESOLU] Impossible d'installer un pilote Wi-Fi - Pb de dépendances
Et voilà :
Plus aucune erreur, tu peux à nouveau installer ce que tu veux.
Bon, et maintenant, je peux avoir la wifi, télécharger openshot et audacity et avoir une chance de finir mon projet avant noël tu crois ?
Je dirais que oui, si j'ai bien compris, tu voulais déjà installer ton pilote wifi ? Tu peux déjà essayer ça.
Et quand tu auras un moment, il faudra songer à faire un peu de nettoyage mais il n'y a pas urgence.
− cqfd93 −
Hors ligne