From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: VanL Newsgroups: gmane.emacs.help Subject: Re: 'apt build-dep emacs' has unmet dependencies Date: Sun, 05 Jan 2020 21:11:15 +1100 Organization: BMF Prizefighter 'President' Trump 2020 Keep America Great =?utf-8?B?yZnJmTBA?= Ultimat Fighting Cybr Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="90028"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (berkeley-unix) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 05 11:12:46 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1io2tp-000N79-9O for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Jan 2020 11:12:45 +0100 Original-Received: from localhost ([::1]:40600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1io2ti-00042g-LZ for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Jan 2020 05:12:38 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35840) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1io2tX-00042Y-OA for help-gnu-emacs@gnu.org; Sun, 05 Jan 2020 05:12:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1io2tW-0004n1-IO for help-gnu-emacs@gnu.org; Sun, 05 Jan 2020 05:12:27 -0500 Original-Received: from blaine.gmane.org ([195.159.176.226]:45044) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1io2tW-0004jZ-BQ for help-gnu-emacs@gnu.org; Sun, 05 Jan 2020 05:12:26 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1io2tU-000MtP-En for help-gnu-emacs@gnu.org; Sun, 05 Jan 2020 11:12:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:DHG4ULhb1I0+W0aK0smfdlWwfvY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:122155 Archived-At: >> ,---- >> | % 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