Install d'un paquet nécessitant des librairies anciennes

Salut,
Bon j’ai essayé d’écrire un titre clair, mais je suis pas sûr que ce soit mieux ! concrètement : j’ai récupéré un paquet debian scilab4.0-gtk (qui me permet d’utiliser des fenêtres moins pénibles).
en utilisant

dpkg sort en me disant qu’il à besoin de [quote]libreadline4[/quote] tiens bizarre qu’il n’ait pas instalé la librairie si elle manquait. Après une courte recherche, je comprends que etch utilise [quote]libreadline5[/quote] Soit… Qu’à cela ne tienne je mets dans mon sources.list un miroir pour sarge (pour laquelle le paquet à effectivement était fait) pour récupérer la bibliothèque en question.
Seulement quand je fais [quote]apt-get -t sarge install libreadline4[/quote] il m’annonce qu’il va me désinstaller la moitié de mon système (principalement gnome d’ailleurs)…
Comment faire comprendre que je veux uniquement installer libreadline4 sans supprimer libreadline5 dont dépendent plein de paquets ?
Merci

Installes un chroot sarge et fait tourner scilab dedans.
Sinon, il y equivs, si ma mêmoire est bonne qui permet d’annoncer à apt que tel paquet fournit les fonctionnalités de tel autre. Tu peux peut être l’utiliser pour dire que libreadline5 fournit libreadline4, et voir ce que ça donne.
Je vais voir comment ça marche.

Ps: l’autre manière, c’est de voir si tu ne peux pas le compiler depuis les sources, voir même regénèrer le paquet en etch (cf le trucs et astuces sur la fabrication de paquets).

il y a une explication sur l’usage d’equivs dans /less /usr/share/doc/equivs/README.Debian quand le paquet est installé.

Merci pour toute ces pistes Mattotop je creuse je creuse :smt117

Si tu veux un paquet scilab4 pour sarge, tu le trouveras chez moi sous

deb boisson.homeip.net/sarge/ ./

ou boisson.homeip.net/agreg/

[quote=“Zaphod”]Seulement quand je fais [quote]apt-get -t sarge install libreadline4[/quote] il m’annonce qu’il va me désinstaller la moitié de mon système (principalement gnome d’ailleurs)…[/quote]Attention, mais l’option -t n’installe PAS le paquet dans sarge, que tu spécifies … elle résoud les DEPENDANCES dans sarge, nuance … pour installer un paquet sarge en résolvant les dépendances en testing, pourquoi pas , soyons farfelus, tu ferais :
apt-get install -t testing pkg/stable

Dans certains cas, ça reviens au même, mais dans d’autre, faut faire la nuance.
ps: je préfère utiliser cette têiirminologieeeeee … j’ajoute que suivant le pining dans ton préférences, l’option -t peut être neutralisée et ignorée, je dis ça pour la généralité…

quote="usinagaz"ps: je préfère utiliser cette têiirminologieeeeee … j’ajoute que suivant le pining dans ton préférences, l’option -t peut être neutralisée et ignorée, je dis ça pour la généralité…[/quote]Personnellement, quand j’en arrive la, je notes les contraintes des numeros de version, et je fournis une solution avec les numeros de version.

En fait je me suis mal exprimé peut être. Je suis sous etch, j’ai récupéré le paquet pour sarge et là je me suis dit bêtement qui peut le plus peut le moins…
Donc si ça fonctionne avec libreadline4 ça devrait fonctionner avec libreadline5… c’est pas le cas car il est considéré comme cassé et donc inutilisable
Donc je me suis dit je faire cohabiter les deux librairies et puis chaque paquet va chercher celle qui lui va bien… pas plus puisque si je souhaite installer libreadline4 voir plus haut.

[quote]Attention, mais l’option -t n’installe PAS le paquet dans sarge, que tu spécifies … elle résoud les DEPENDANCES dans sarge, nuance … pour installer un paquet sarge en résolvant les dépendances en testing, pourquoi pas , soyons farfelus, tu ferais :
apt-get install -t testing pkg/stable [/quote]
En fait ce qui pose problème c’est les paquets qui dépendent de libreadline5, donc en faisant apt-get -t sarge install libreadline4
je pensais que les dépendances seraient résolu dans sarge, et donc tous mes bô paquets etch ne seraient pas touchés :smt115 et puis non… :smt107 (hoooo ma têêête)
Comme le fond du problème c’est que je suis trop flemmard pour fabriquer le paquet :blush: je vais mieux réfléchir peut être avec equivs ça serait jouable en renvoyant la dépendance libreadline4 sur libreadline5. Qu’ne pensez vous ?

Merci c’est sympa, en fait j’ai compilé scilab depuis les sources et ça marche, sauf que l’interface est horrible. Franchement, je crois que c’est un sérieux frein à la diffusion de ce superbe logiciel qu’est scilab, et clairement matlab avec un produit comparable mais infiniment plus cher (puisque scilab est gratos :wink: ) domine par une interface super bien foutu
merci à tous

quote="Zaphod"Merci c’est sympa, en fait j’ai compilé scilab depuis les sources et ça marche, sauf que l’interface est horrible. Franchement, je crois que c’est un sérieux frein à la diffusion de ce superbe logiciel qu’est scilab, et clairement matlab avec un produit comparable mais infiniment plus cher (puisque scilab est gratos :wink: ) domine par une interface super bien foutu
merci à tous[/quote]Mon père a adopté scilab plutot que mathlab pour son propre usage (sous win).

[quote=“Zaphod”]
Merci c’est sympa, en fait j’ai compilé scilab depuis les sources et ça marche, sauf que l’interface est horrible. Franchement, je crois que c’est un sérieux frein à la diffusion de ce superbe logiciel qu’est scilab, et clairement matlab avec un produit comparable mais infiniment plus cher (puisque scilab est gratos :wink: ) domine par une interface super bien foutu
merci à tous[/quote]

Humm, tu peux aussi essayer octave mais je peux te dire que matlab plante régulièrement (copier/coller plantant kde, gel sur des calculs, etc).

sinon, je l’avais aussi oublié, celui la:

[quote]emeraude:~$ wajig commands
All JIG commands:

addcdrom Add a CD-ROM to the list of available sources of packages
auto-alts Mark the alternative to be auto set (using set priorities)
auto-clean Remove superseded deb files from the download cache
auto-download Do an update followed by a download of all updated packages
auto-install Perform an install without asking questions (non-interactive)
available List versions of packages available for installation
bug Check reported bugs in package using the Debian Bug Tracker
build Retrieve/unpack sources and build .deb for the named packages
build-depend Retrieve packages required to build listed packages
changelog Retrieve latest changelog for the package
clean Remove all deb files from the download cache
commands List all the JIG commands and one line descriptions for each
daily-upgrade Perform an update then a dist-upgrade
dependents List of packages which depend/recommend/suggest the package
describe One line description of packages (-v and -vv for more detail)
describe-new One line description of new packages
detail Provide a detailed description of package (describe -vv)
detail-new Provide a detailed description of new packages (describe -vv)
dist-upgrade Upgrade to new distribution (installed and new rqd packages)
docs Equivalent to help with -verbose=2
download Download package files ready for an install
file-download Download packages listed in file ready for an install
file-install Install packages listed in a file
file-remove Remove packages listed in a file
find-file Search for a file within installed packages
find-pkg Search for an unofficial Debian package at apt-get.org
fix-configure Perform dpkg --configure -a (to fix interrupted configure)
fix-install Perform apt-get -f install (to fix broken dependencies)
fix-missing Perform apt-get --fix-missing upgrade
force Install packages and ignore file overwrites and depends
help Print documentation (detail depends on --verbose)
hold Place listed packages on hold so they are not upgraded
init Initialise or reset the JIG archive files
install Install (or upgrade) one or more packages or .deb files
installr Install package and associated recommended packages
installrs Install package and recommended and suggested packages
installs Install package and associated suggested packages
install/dist Install packages from specified distribution
integrity Check the integrity of installed packages (through checksums)
large List size of all large (>10MB) installed packages
last-update Identify when an update was last performed
list List the status and description of installed packages
list-all List a one line description of given or all packages
list-alts List the objects that can have alternatives configured
list-cache List the contents of the download cache
list-commands List all the JIG commands and one line descriptions for each
list-daemons List the daemons that JIG can start/stop/restart
list-files List the files that are supplied by the named package
list-hold List those packages on hold
list-installed List packages (with optional argument substring) installed
list-log List the contents of the install/remove log file (filtered)
list-names List all known packages or those containing supplied string
list-orphans List libraries not required by any installed package
list-scripts List the control scripts of the package of deb file
list-section List packages that belong to a specific section
list-section List the sections that are available
list-status Same as list but only prints first two columns, not truncated
list-wide Same as list but avoids truncating package names
local-dist-upgrade Dist-upgrade using packages already downloaded
local-upgrade Upgrade using packages already downloaded, but not any others
madison Runs the madison command of apt-cache.
move Move packages in the download cache to a local Debian mirror
new List packages that became available since last update
news Obtain the latest news about the package
new-upgrades List packages newly available for upgrading
non-free List installed packages that do not meet the DFSG
orphans List libraries not required by any installed package
package Generate a .deb file for an installed package
policy From preferences file show priorities/policy (available)
purge Remove one or more packages and configuration files
purge-depend Purge package and those it depend on and not required by others
purge-orphans Purge orphaned libraries (not required by installed packages)
readme Display the package’s README file from /usr/share/doc
recursive Download package and any packages it depends on
recommended Install package and associated recommended packages
reconfigure Reconfigure the named installed packages or run gkdebconf
reinstall Reinstall each of the named packages
reload Reload daemon configs, e.g., gdm, apache (see list-daemons)
remove Remove one or more packages (see also purge)
remove-depend Remove package and its dependees not required by others
remove-orphans Remove orphaned libraries (not required by installed packages)
repackage Generate a .deb file for an installed package
reset Initialise or reset the JIG archive files
restart Stop then start a daemon, e.g., gdm, apache (see list-daemons)
rpm2deb Convert a RedHat .rpm file to a Debian .deb file
rpminstall Install a RedHat .rpm package
rpmtodeb Convert a RedHat .rpm file to a Debian .deb file
search Search for packages containing listed words
search-apt Find local Debian archives suitable for sources.list
setup Configure the sources.list file which locates Debian archives
show Provide a detailed description of package [same as detail]
showdistupgrade Trace the steps that a dist-upgrade would perform
showinstall Trace the steps that an install would perform
showremove Trace the steps that a remove would perform
showupgrade Trace the steps that an upgrade would perform
size Print out the size (in K) of all, or listed, installed packages
sizes Print out the size (in K) of all, or listed, installed packages
snapshot Generates list of package=version for all installed packages
source Retrieve and unpack sources for the named packages
start Start a daemon, e.g., gdm, apache (see list-daemons)
status Show the version and available version of packages
status-match Show the version and available version of matching packages
status-search Show the version and available version of matching packages
stop Stop a daemon, e.g., gdm, apache (see list-daemons)
suggested Install package and associated suggested packages
tasksel Run the Gnome task selector to install groups of packages
toupgrade List packages with newer versions available for upgrading
unhold Remove listed packages from hold so they are again upgraded
unofficial Search for an unofficial Debian package at apt-get.org
update Update the list of down-loadable packages
update-alts Update default alternative for things like x-window-manager
update-pci-ids Updates the local list of PCI ids from the internet master list
update-usb-ids Updates the local list of USB ids from the internet master list
upgrade Upgrade all of the installed packages or just those listed
versions List version and distribution of (all) packages.
whatis A synonym for describe
whichpkg Find the package that supplies the given command or file

Command line options:

-h|–help Print usage message.
-q|–quiet Do system commands everything quietly.
-n|–noauth Allow packages from unathenticated archives.
-s|–simulate Trace but don’t execute the sequence of underlying commands.
-t|–teaching Trace the sequence of commands performed.
-v|–verbose=n Increase (or set) the level of verbosity (to n).
-y|–yes Assume yes for any questions asked.

Fuller documentation can be found at togaware.com/wajig.

[/quote]

Attention ce que j’en disais c’était pas pour lancer un troll, j’utilise scilab, mais pour les collègues c’est matlab ou rien, même si ça bouffe la moitié du budget du labo !
Je cherche donc à avoir une interface plus eye-candy.
Pour octave, je l’ai essayé une fois, mais je n’ai pas vu l’avantage sur scilab et surtout l’équivalent de scicos n’existe pas…