From: VanL <van@scratch.space>
To: help-gnu-emacs@gnu.org
Subject: Re: 'apt build-dep emacs' has unmet dependencies
Date: Sun, 05 Jan 2020 21:11:15 +1100 [thread overview]
Message-ID: <m2tv5a43i4.fsf@scratch.space> (raw)
In-Reply-To: CAP_d_8WzMBX4ykdrfu3+4dkxp=5voPppBuycK3DxTuTpu+WmmQ@mail.gmail.com
>> ,----
>> | % sudo apt build-dep emacs
>> | The following packages have unmet dependencies:
>> | builddeps:emacs : Depends: librsvg2-dev but it is not going to be installed
>> | Depends: libgtk-3-dev but it is not going to be installed
>> | Depends: libasound2-dev but it is not going to be installed
>> | Depends: libmagick++-6.q16-dev but it is not going to be installed
>> | E: Unable to correct problems, you have held broken packages.
>> `----
>
> This indicates that your apt knows which packages it needs to install,
> but does not know of a repository from which to install them.
>
> What is in your /etc/apt/sources.list (and /etc/apt/sources.list.d, if
> any)? Have you done a ‘sudo apt update’ recently?
The entry in sources.list uses
deb http://mirror.internode.on.net/pub/raspbian/raspbian/ buster...
deb-src http://mirror.internode.on.net/pub/raspbian/raspbian/ buster...
#deb http://raspbian.raspberrypi.org/raspbian/ buster...
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster...
When it worked what I did different was have the git clone of Emacs on
file system before calling 'sudo apt build-dep emacs', I also had
firefox installed which might have put in place the dependencies now
complained about. It worked the first time, but not after reflash then
the second.
I had to reflash the RPi4B because the first experience update actually
errored and failed due to lag reaching raspberrypi.org, but the UI put
on a cheerful OK button to reboot. That I didn't do.
Although I pointed at a closer mirror and did the update again before
first reboot it bugged me until xload registered 50x plus when I decided
to reflash. My RPi4B came in a box without electrostatic bag which was
disappointing. The paperwork in the box shows a diagram of the RPi4B in
an electrostatic bag.
Before the second try, I also had commented out in
/etc/apt/sources.list.d/raspi.list
#deb http://archive.raspberrypi.org/debian/ buster
#deb-src http://archive.raspberrypi.org/debian/ buster main
uncommenting those, now, gives me 56 upgrades and 1 new package. But so
slow to update
looks like raspberrypi needs to fan out to cdns in regions.
I uncomment in /etc/apt/sources.list
deb http://raspbian.raspberrypi.org/raspbian/ buster...
deb-src http://raspbian.raspberrypi.org/raspbian/ buster...
that does not give me more packages to upgrade.
Now, I am able to run 'apt build-dep emacs' successfully.
The content
from
http://archive.raspberrypi.org/debian/
was needed.
Thanks YK for the push in the right direction!
-- VL
next prev parent reply other threads:[~2020-01-05 10:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-04 11:50 'apt build-dep emacs' has unmet dependencies VanL
2020-01-04 13:27 ` Óscar Fuentes
2020-01-05 2:30 ` VanL
2020-01-05 7:02 ` Yuri Khan
2020-01-05 10:11 ` VanL [this message]
2020-01-05 15:47 ` Yuri Khan
2020-01-06 1:29 ` VanL
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2tv5a43i4.fsf@scratch.space \
--to=van@scratch.space \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.