Recent

Author Topic: Error in the APT repository  (Read 10717 times)

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Error in the APT repository
« on: September 23, 2011, 11:11:49 pm »
There is something wrong with file paths in Packages files for lazarus-stable, so it's not possible to install anything (package manager gets 404's).

lazarus-testing works fine (BTW I wonder what's the difference between the two repos, they seem to contain the same Lazarus version).
« Last Edit: September 26, 2011, 11:47:21 am by TurboRascal »
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

Rails

  • Guest
Re: Error in APT repository
« Reply #1 on: September 24, 2011, 12:55:53 am »
Whose Apt repository?  There are several distros that use the deb packages, plus a couple of repositories  that aren't part of any particular distro.

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: Error in APT repository
« Reply #2 on: September 24, 2011, 04:58:02 am »
I meant the official repo at www.hu.freepascal.org, by default. I would certainly not complain here for a third party one ;)
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

zoldalma

  • Newbie
  • Posts: 2
Re: Error in the APT repository
« Reply #3 on: October 03, 2011, 08:44:58 am »
Hi!

We couldn't install Lazarus from repository, because there are wrong filename entries in Packages file (stable).
(Filename: /home/fpchome/fpcfan/lazarus-www/dists/lazarus-stable/universe/binary-i386/*.deb)

Thx

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Error in the APT repository
« Reply #4 on: October 03, 2011, 10:20:49 am »
I have no idea where that absolute path came from. I regenerated the Packages file. Please try again.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Error in the APT repository
« Reply #5 on: October 03, 2011, 10:22:33 am »
lazarus-testing works fine (BTW I wonder what's the difference between the two repos, they seem to contain the same Lazarus version).
lazarus-testing now contains RC1 of Lazarus 0.9.30.2. Also a new release will first be rolled out to to the testing repository and then to the stable repository.

zoldalma

  • Newbie
  • Posts: 2
Re: Error in the APT repository
« Reply #6 on: October 04, 2011, 08:40:21 am »
I have no idea where that absolute path came from. I regenerated the Packages file. Please try again.

It's working now. Thank you

mdalacu

  • Full Member
  • ***
  • Posts: 234
    • dmSimpleApps
[How To] Add Lazarus testing repo in Ubuntu.
« Reply #7 on: October 04, 2011, 09:57:44 am »
[How To] Add Lazarus testing repo in Ubuntu. Tested on Ubuntu 11.11 x86.

1. Add in "Update Manager - Settings - Other Software - Add"  this apt line:
 
Code: [Select]
deb http://www.hu.freepascal.org/lazarus/ lazarus-testing universe
2. Remove from "Update Manager - Settings - Other Software" the last line (Lazarus Source Code).
Close Update Manager.

3. In terminal:
 
Code: [Select]
sudo apt-get update
sudo apt-get install lazarus

That's it!

fabienwang

  • Sr. Member
  • ****
  • Posts: 449
  • Lazarus is the best
    • My blog
Re: Error in the APT repository
« Reply #8 on: October 04, 2011, 11:09:31 pm »
Hehe you forgot to import the GPG key first:

http://wiki.lazarus.freepascal.org/How_to_setup_a_FPC_and_Lazarus_Ubuntu_repository#Add_the_key

1°)
gpg --keyserver hkp://pgp.mit.edu:11371 --recv-keys 670C48C26A11800F

2°)
gpg --export 670C48C26A11800F | sudo apt-key add -

then the rest :)
« Last Edit: October 04, 2011, 11:12:02 pm by FabienWang »
I'm using Arch Linux.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Error in the APT repository
« Reply #9 on: October 04, 2011, 11:18:03 pm »
FabianWang, testing and stable use the same gpg key, so for switching to testing, you don't need to import the keys.

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: Error in the APT repository
« Reply #10 on: October 08, 2011, 01:20:30 am »
@Vincent Snijders: thanks, the stable repository works fine now that the paths are correct.

I am however unable to install 0.9.30.2 with the following dependency errors on Ubuntu Lucid (I believe I had the same ones when I tried to install 0.9.30.1 before):
Quote
lazarus-ide-0.9.30.2:
 Depends: libgdk-pixbuf2.0-0 (>=2.22.0) but it is not installable
  Depends: libgtk2.0-0 (>=2.24.0) but 2.20.1-0ubuntu2 is to be installed
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Error in the APT repository
« Reply #11 on: October 08, 2011, 08:02:42 am »
TurboRascal, please create a bug report.

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: Error in the APT repository
« Reply #12 on: October 08, 2011, 03:32:07 pm »
No problem, I'll do it as soon I get to it...
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: Error in the APT repository
« Reply #13 on: December 16, 2011, 11:01:47 pm »
It took me a while, but finally I did it here.

I hope someone else didn't report it in the meanwhile so I don't double report it, I did a search and found nothing...
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

 

TinyPortal © 2005-2018