BONJOUR A TOUS. Depuis mon nouveau O.S. Linux 16.04 je suis perdu. Avant je faisais: 1. sudo apt-get build-dep $package puis : 2. apt-get source $package et ça marchait.
Maintenant, dès que j'ai fait le 1. ou le 2. le terminal me dit: E: you must put some 'source' URIs in your sources.list
Là je coince complètement. D'après wiki URI veut dire: Uniform Resource Identifier mais que faire ?? Merci d'avance pour votre réponse
Comment obtenir le code source
Re: Comment obtenir le code source
J'ai réussi à trouver la "sources.list" avec : sudo nano /etc/apt/sources.list
Il y a plusieurs dépôts de logiciels mais ils sont binaires tous apparemment. Mais comment trouver des dépôts de logiciels "source" ?? Si quelqu'un pouvait m'aider !
Il y a plusieurs dépôts de logiciels mais ils sont binaires tous apparemment. Mais comment trouver des dépôts de logiciels "source" ?? Si quelqu'un pouvait m'aider !
Re: Comment obtenir le code source
Par yahoo, dans "apt-Error::You must put some 'source' URIs in your...", lequel j'ai obtenu avec ma demande sur yahoo: URIs of source code repositories
Voici ce que l'on trouve en bas de la page:
In Linux Mint (I am on version 18) you can go to Software Sources (search for it in the start menu or open it from a terminal with software-sources). There, on the first tab, you will find a checkbox Enable source code repositories. If you enable this the program will put the correct lines into your /etc/apt/sources.list.d/official-source-repositories.list file. Just don't forget to sudo apt-get update (or hit Update the cache in the Software Sources) after that.
Là, je pense que le problème est reglé.
Voici ce que l'on trouve en bas de la page:
In Linux Mint (I am on version 18) you can go to Software Sources (search for it in the start menu or open it from a terminal with software-sources). There, on the first tab, you will find a checkbox Enable source code repositories. If you enable this the program will put the correct lines into your /etc/apt/sources.list.d/official-source-repositories.list file. Just don't forget to sudo apt-get update (or hit Update the cache in the Software Sources) after that.
Là, je pense que le problème est reglé.
Re: Comment obtenir le code source
Voici ma dernière version: Excusez pour l'anglais
All troubles come from the fact that with the new O.S , the sources.list has all URIs concerning source code , commented. So they dont work. So : 1. you load sources. list with : sudo nano /etc/apt/sources.list 2. you uncomment all URIs beginning with deb-src 3. you save that 4. you type : sudo apt-get update 5. you want all the source files of « sed » : you type sudo apt-get build-dep sed 6. you wait the end and then you type : apt-get source sed 7. you wait the end and then you type « ls ». So you see your files on your console
All troubles come from the fact that with the new O.S , the sources.list has all URIs concerning source code , commented. So they dont work. So : 1. you load sources. list with : sudo nano /etc/apt/sources.list 2. you uncomment all URIs beginning with deb-src 3. you save that 4. you type : sudo apt-get update 5. you want all the source files of « sed » : you type sudo apt-get build-dep sed 6. you wait the end and then you type : apt-get source sed 7. you wait the end and then you type « ls ». So you see your files on your console