apt error: the repository & # 39; & # 39; X & # 39; does not have a launch file or could not search & # 39; link & # 39; 404 not found ubuntu 18.10

I can't use any command with apt-get to get this error message. I'm using Ubuntu 18.10.

Err:1 http://br.archive.ubuntu.com/ubuntu cosmic-updates/main amd64 libpq-dev amd64 10.9-0ubuntu0.18.10.1
  404  Not Found [IP: 2801:82:80ff:8000::5 80]
Err:2 http://br.archive.ubuntu.com/ubuntu cosmic-updates/universe amd64 postgresql-server-dev-10 amd64 10.9-0ubuntu0.18.10.1
  404  Not Found [IP: 2801:82:80ff:8000::5 80]
Ign:3 http://br.archive.ubuntu.com/ubuntu cosmic/universe amd64 postgresql-server-dev-all all 193
Err:3 http://br.archive.ubuntu.com/ubuntu cosmic/universe amd64 postgresql-server-dev-all all 193
  404  Not Found [IP: 2801:82:80ff:8000::5 80]
E: Failed to search http://br.archive.ubuntu.com/ubuntu/pool/main/p/postgresql-10/libpq-dev_10.9-0ubuntu0.18.10.1_amd64.deb  404  Not Found [IP: 2801:82:80ff:8000::5 80]
E: Failed to search http://br.archive.ubuntu.com/ubuntu/pool/universe/p/postgresql-10/postgresql-server-dev-10_10.9-0ubuntu0.18.10.1_amd64.deb  404  Not Found [IP: 2801:82:80ff:8000::5 80]
E: Failed to search http://br.archive.ubuntu.com/ubuntu/pool/universe/p/postgresql-common/postgresql-server-dev-all_193_all.deb  404  Not Found [IP: 2801:82:80ff:8000::5 80]
E: Impossible to search some files, maybe executing apt-get update or trying --fix-missing?

Right now, I am trying to access my Source.list with sudo su Y /etc/apt/source.list and it's giving me the message: bash: /etc/apt/sources.list: Denied permission.

I appreciate any help.

magento2.3 – getList method of repository and CollectionProcessor

I am working on Magento 2.3 and I am struggling with implementing getList () method, specifically with collectionProcessor.

I have read devdocs (https://devdocs.magento.com/guides/v2.3/extension-dev-guide/searching-with-repositories.html) but I have found little of the code base that follows the documentation.

Explain collectionProcessor and how it should be implemented in the getList () method for a custom model. Code examples a bonus.

Magento 2: CURD operations with WEB API and repository

I have created a module with basic CURD operations save, update, delete with ResouceModel in Magento 2.

I am trying to do these CURD operations with API or repository.

Can anyone give a quick example to do this?

Thanks in advance!!!

Github's private repository safe from scratchers?

I have a question about the security of private repositories on Github. Suppose you use HTTPS authenticated against SAML SSO to find and send changes to remote control. Could an external adversary extract the files from the display page if they know the URL?

c # – Is the unit of work pattern really needed with the repository pattern?

I am trying to use EF6 with my project. I just saw Repository Pattern with C # and Entity Framework, Done Right | Mosh video. I understand the need for repositories, but I still don't understand UnitOfWork. I already have my DBContext to use instead of UnitOfWork. In the video sample code it's like:

using(var UnitOfWork = new UnitOfWork(new DBContext()))
{
    UnitOfWork.Courses.Get(1);
}

I don't understand the benefit of this. I can directly use my dbContext in all my repositories,

using(var dbContext = new DBContext())
{
    var courseRepo = new CourseRepo(dbContext);
    var otherRepo = new OtherRepo(dbContext);

    courseRepo.Get(1);
}

So my repositories will use the same dbContext. What is the reason for UnitOfWork then?

SVN on home network, error connecting to repository

I have an SVN server running on my QNAP NAS. I had configured this about a year or more ago, and have been able to check in and check out files from the repository. The NAS at that point connected directly to my router, Netgear C3700. I was able to pay files on my MAC with no problems.

I tried the same commands today (also a few months ago) and I get an error at checkout.
svn: E000061: unable to connect to host & # 39; 192.168.0.27 & # 39;: connection refused

From what I'm reading, it looks like something might be blocking port 3690, which is what "svn" uses. I have not actively configured anything in the last year to have this change. All I did was add a Netgear 8 port switch, so I could add some MoCA and home automation devices, but today I tried to connect the NAS directly to the router and still get this error.

PS: I could send SSH to the NAS and create a new repository branch etc. The error is only when I am trying to pay from the client, my MAC. Port scanning on my MAC doesn't show 3690 in the list either.
Port Scan Host: 192.168.0.27

 Open TCP Port:     21          ftp
 Open TCP Port:     22          ssh
 Open TCP Port:     80          http
 Open TCP Port:     139         netbios-ssn
 Open TCP Port:     443         https
 Open TCP Port:     445         microsoft-ds
 Open TCP Port:     631         ipp
 Open TCP Port:     873         rsync
 Open TCP Port:     3689        daap
 Open TCP Port:     4433
 Open TCP Port:     4434
 Open TCP Port:     6881
 Open TCP Port:     8080        http-alt
 Open TCP Port:     8081        sunproxyadmin
 Open TCP Port:     8200        trivnet1
 Open TCP Port:     8889        ddi-tcp-2
 Open TCP Port:     49152

Port Scan has completed …

Is this the correct forum for this question … or can someone suggest the right place?

apt – Does Repository have only the packet index?

I am a novice user, who wants to get basic knowledge.

The question is about the repository.

My point of view:

· Repository: one of the directories in Ubuntu
computer installed

· Package: stored in the repository to be used
Install applications

So my question is that the repository only has
The index of applications or tools?

From a different angle, can I install any general application without the online connection?

Are all the binaries necessary for any installation already stored as packages in the repository?

If so, do you download a lot of date to replace the old binary files of the applications with new ones when I type the command "sudo apt-get update"?

Validation of the origin of the github project launch binaries obtained from the Maven repository

If I get a release version of a github project from a Maven repository, how can I safely verify that it is the authentic version?

DETAILS

That was my question X. My question Y continues.

The Maven Guide for loading artifacts in the Central Repository says:

To improve the quality of the Central Repository, we ask that you provide PGP signatures for all your artifacts (all files except checksums) and distribute your public key to a key server such as http://pgp.mit.edu. Read Work with PGP signatures for more information.

Should I be looking for a PGP signature for the Github project, or for the Github user who made the launch, or something else?

Submodule tags are not updated with the git submodule repository URL update

I have to update the repository URL of a submodule used in my main repository. These are the steps that I have followed.

1) Modify the repository URL in .gitmodules archive.

2) run git submodule sync (Then .git/config was updated with the new URL)

3) Then I executed the following command:

git submodule update --init --remote -- 

After this, I obtained the updated submodule files from the new repository URL. But in .git/modules//packed-refs Archiving tags are still from the previous repository only.

For example:

package-references before the submodule and after the submodule are the same as below (which are the tags obtained from the URL of the previous repository):

208058b9ad3fd54caf66a9c9972cfe80d4f4bc13 refs/tags/3.3.3
3dc3a0ea2d0773af4c0ffd7bbcb21c608e28fcef refs/tags/3.3.4
81bdde705cc69776fd63c870581ee0c793d48873 refs/tags/3.3.5
f8d653d1f9329081e017caf6cb9341834a71b6d2 refs/tags/3.3.6
21ae2afd4edaa1b69782c67a54182d34efe43f9c refs/tags/3.3.7

Ideally, you should get new tags in the packaged references file after updating the submodule so you can move to a specific tag in the new repository.

Thank you!

Error trying to save git repository log in txt file (Python)

Hi
I am trying to write the Python code to save a git record of a git repository in a .txt file in a different directory using the function subprocess.Popen(). I know that the syntax to use on the command line is:

git -C (diretorioGit) log --first-parent --pretty="%H" > (diretorio/arquivoDestino)

However, when you try to do it using the Python function:

subprocess.Popen(("git", "-C", "github_repos/ChainLink-Token", "log", "--first-parent", "--pretty="+ "%H", '>' ,"../../github_commits/ChainLink-Token_commits.txt"), stdout=subprocess.PIPE).communicate()

the following error appears:

fatal: ambiguous argument '>': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git  (...) -- (...)'

Would anyone know what the mistake was?

Note: because the command line is working

I appreciate from now