:: Re: [DNG] OT: Install laravel on de…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Ismael L. Donis Garcia
Fecha:  
A: Devuan
Asunto: Re: [DNG] OT: Install laravel on devuan
That's what the message gives. But that is precisely what I don't understand
because I don't have any problem with the Internet connection.

Unless, because we are in Cuba, that site is blocked for our use. since the
USA denies us access to many places.

If you look at the previous messages from the console, I downloaded the
file: https://repo.packagist.org/packages.json without any problem, so there
is no problem with the internet connection

Best Regards
--
Ismael
Devuan User: http://distrowatch.com/table.php?distribution=devuan
Web Site: https://gitlab.uic.cu/ismael.donis/
----- Original Message -----
From: "Fernando M. Maresca" <fmaresca@???>
To: "Ismael L. Donis Garcia" <slibre@???>
Cc: "Devuan" <dng@???>
Sent: Monday, June 24, 2024 1:41 PM
Subject: Re: [DNG] OT: Install laravel on devuan


>
> Well, there's a DNS error anyway.
>
> Try to debug your DNS server:
> fmaresca@nnaa$ dig @8.8.8.8 repo.packagist.org
>
> ; <<>> DiG 9.18.24-1-Debian <<>> @8.8.8.8 repo.packagist.org
> ; (1 server found)
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64398
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
>
> ;; OPT PSEUDOSECTION:
> ; EDNS: version: 0, flags:; udp: 512
> ;; QUESTION SECTION:
> ;repo.packagist.org.            IN      A

>
> ;; ANSWER SECTION:
> repo.packagist.org.     120     IN      A       167.114.128.168

>
>
> What's in your /etc/resolv.conf file?
>
> You can try adding the host to /etc/hosts as a temporary measure to
> resolve the domain. However I think I would investigate the DNS problem
> further.
>
> Regards,
> Fer
>
>
>
> On Mon, Jun 24, 2024 at 12:12:40PM -0400, Ismael L. Donis Garcia wrote:
>> Thanks for answering but it keeps giving error.
>>
>> root@clt-iyc-03:/var/www/html/testapp# sudo -u www-data composer
>> create-project laravel/laravel .
>> Creating a "laravel/laravel" project at "./"
>> The following exception probably indicates you have misconfigured DNS
>> resolver(s)
>>
>> In CurlDownloader.php line 365:
>>
>> curl error 6 while downloading https://repo.packagist.org/packages.json:
>> Could not resolve host: repo.packagi
>> st.org
>>
>>
>> create-project [-s|--stability STABILITY] [--prefer-source]
>> [--prefer-dist]
>> [--prefer-install PREFER-INSTALL] [--repository REPOSITORY]
>> [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev]
>> [--no-custom-installers] [--no-scripts] [--no-progress]
>> [--no-secure-http]
>> [--keep-vcs] [--remove-vcs] [--no-install] [--no-audit] [--audit-format
>> AUDIT-FORMAT] [--ignore-platform-req IGNORE-PLATFORM-REQ]
>> [--ignore-platform-reqs] [--ask] [--] [<package> [<directory>
>> [<version>]]]
>>
>> root@clt-iyc-03:/var/www/html/testapp#
>>
>> Best Regards
>> --
>> Ismael
>> Devuan User: http://distrowatch.com/table.php?distribution=devuan
>> Web Site: https://gitlab.uic.cu/ismael.donis/
>> ----- Original Message ----- From: "Fernando M. Maresca"
>> <fmaresca@???>
>> To: "Ismael L. Donis Garcia" <slibre@???>
>> Cc: <dng@???>
>> Sent: Monday, June 24, 2024 12:00 PM
>> Subject: Re: [DNG] OT: Install laravel on devuan
>>
>>
>> >
>> > Hi Ismael
>> >
>> > On Mon, Jun 24, 2024 at 11:37:19AM -0400, Ismael L. Donis Garcia wrote:
>> > > root@clt-iyc-03:/var/www/html/testapp# sudo -u www-data composer
>> > > create-project laravel/laravel.
>> > > Creating a "laravel/laravel." project at "./laravel."
>> >
>> > it looks like a dns problem but I would suggest you to review this
>> > command, I think the final dot should be the path where the project dir
>> > would be created, "." being the current dir, so the command should be:
>> >    composer create-project laravel/laravel .

>> >
>> > (please note the space between "laravel" and ".")
>> >
>> >
>> > Regards,
>> >
>> > --
>> > Fernando M. Maresca
>> >
>> >
>>
>>
>> _______________________________________________
>> Dng mailing list
>> Dng@???
>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>
> --
> Fernando M. Maresca
> - - - - - - - - - - - - -
> Cel: 221 15 545 8196
> Tel: 221 450 5378
>