Re: Emacs cvs installation under Debian
- To: debian-emacsen@lists.debian.org
- Subject: Re: Emacs cvs installation under Debian
- From: Rodolfo Medina <rodolfo.medina@gmail.com>
- Date: Thu, 11 May 2006 22:02:20 +0200
- Message-id: <[🔎] 87wtcsuy7n.fsf@gmail.com>
- References: <87lktwfpv1.fsf@gmail.com> <20060423141300.C7BA62B435F@aspodata.se> <874q0kl450.fsf@gmail.com> <20060423195144.082622B435F@aspodata.se> <87acabb9k4.fsf@gmail.com> <20060424220321.61A8A2B435F@aspodata.se>
Rodolfo Medina wrote:
> I managed to install Emacs cvs in my Sarge 3.1, but it comes without
> graphical face.
>
> [...]
>
> Here's my /etc/apt/souces.list:
>
> ------------------------------------------------------------------------
> #deb file:///cdrom/ sarge main
>
> deb cdrom:[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-2 (20050607)]/ unstable contrib main
> deb cdrom:[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-1 (20050607)]/ unstable contrib main
>
>
> # deb http://security.debian.org/ stable/updates main contrib
> ------------------------------------------------------------------------
>
>
> . I made two similar lines with 'deb-src cdrom' in place of 'deb cdrom', but when I do
>
> # apt-get build-dep emacs21
>
> , now I get the following:
>
> Reading Package Lists... Done
> Building Dependency Tree... Done
> E: Could not open file /var/lib/apt/lists/Debian%20GNU_Linux%203.1%20r0a%20%5fSarge%5f%20-%20Official%20i386%20Binary-2%20(20050607)_dists_unstable_contrib_source_Sources - open (2 No such file or directory)
Karl Hammar wrote:
> According to /usr/share/doc/apt/examples/sources.list you should use
> apt-cdrom for cdroms. Also disk 1 and 2 probably dont have any sources,
> get a source disk or use:
>
> deb-src http://http.us.debian.org/debian stable main contrib non-free
I solved the problem the following way:
I added to sources.list the following two lines:
deb http://http.us.debian.org/debian stable main contrib non-free
deb-src http://http.us.debian.org/debian stable main contrib non-free
, then connected to internet and did:
# apt-get update
. I disconnected, and did:
# apt-get build-dep emacs21
, and got the following output:
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting libtiff4-dev instead of libtiff-dev
The following NEW packages will be installed:
autotools-dev build-essential dpatch libice-dev libjpeg62-dev
liblockfile-dev libncurses5-dev libpng12-dev libpng3-dev libsm-dev
libtiff4-dev libtiffxx0 libungif4-dev libungif4g libx11-dev libxaw7-dev
libxext-dev libxi-dev libxmu-dev libxmuu-dev libxp-dev libxpm-dev
libxrandr-dev libxrender-dev libxt-dev libxtrap-dev libxtst-dev libxv-dev
pm-dev render-dev x-dev xaw3dg xaw3dg-dev xlibs-dev xlibs-static-dev
zlib1g-dev
The following packages will be upgraded:
libice6 libsm6 libx11-6 libxaw7 libxext6 libxi6 libxmu6 libxmuu1 libxp6
libxpm4 libxrandr2 libxt6 libxtrap6 libxtst6 libxv1 zlib1g
16 upgraded, 36 newly installed, 0 to remove and 83 not upgraded.
Need to get 10.3MB/12.7MB of archives.
After unpacking 26.6MB of additional disk space will be used.
Do you want to continue? [Y/n]
. I said 'no' and then installed those packages that Debian wanted to install,
without the upgradings. Then I installed emacs cvs fine, just as I wanted,
using nothing else but my two DVDs.
Thanks, cheers,
Rodolfo
Reply to: